package com.wicket.okrcalc.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrapp.integration.dto.*;
import com.wicket.okrapp.integration.dto.ImplementComReqDto;
import com.wicket.okrapp.integration.dto.ImplementComRespDto;
import com.wicket.okrapp.integration.dto.QueryConfItemMatchAnswerDetailComReqDto;
import com.wicket.okrcalc.biz.service.dto.req.*;
import com.wicket.okrcalc.biz.service.dto.req.ImplementCurrentCycleTypeAnalysisComReqDto;
import com.wicket.okrcalc.biz.service.dto.req.ImplementRecalcAllStandardDataComReqDto;
import com.wicket.okrcalc.biz.service.dto.req.ImplementRightExecuteCycleStagComReqDto;
import com.wicket.okrcalc.biz.service.dto.req.ImplementTargetCycleWorkExecCycleAnalysisComReqDto;
import com.wicket.okrcalc.biz.service.dto.res.*;
import com.wicket.okrcalc.biz.service.dto.res.ImplementCurrentCycleTypeAnalysisComRespDto;
import com.wicket.okrcalc.biz.service.dto.res.ImplementRecalcAllStandardDataComRespDto;
import com.wicket.okrcalc.biz.service.dto.res.ImplementRightExecuteCycleStagComRespDto;
import com.wicket.okrcalc.biz.service.dto.res.ImplementTargetCycleWorkExecCycleAnalysisComRespDto;
import com.wicket.okrcalc.common.exception.BizException;
import com.wicket.okrcalc.common.util.RedisUtil;

import java.util.stream.Collectors;
import javax.annotation.Resource;

import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrcomponent.integration.dto.CountNumberDataSetsDto;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.wicket.okrcalc.biz.service.nb.NbGridCalculate;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrcalc.common.exception.Assert;
import com.wicket.okrcalc.biz.service.StandardDataService;
import com.wicket.okrcomponent.integration.FwCompInterfaceModeClient;
import com.wicket.okrapp.integration.FwAppTargetCycleClient;
import com.wicket.okrcalc.base.service.MOmsStandardDataResultService;
import com.wicket.okrcalc.dal.po.mbg.OmsStandardDataResult;
import com.wicket.okrcalc.base.service.dto.req.QueryStandardDataDetailReq;
import com.wicket.okrapp.integration.FwAppCycleStageDataClient;
import com.wicket.okrcalc.biz.service.dto.common.DataSetsListOneDto;
import com.wicket.okrcalc.biz.service.CalculationRulesService;
import com.wicket.okrapp.integration.FwAppGridCalculateClient;

import com.wicket.okrcalc.biz.service.dto.common.StandardDataDto;
//import com.wicket.okrapp.integration.dto.CountNumberDataSetsDto;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrapp.integration.FwAppTargetContentClient;
import com.wicket.okrapp.integration.FwAppIndexSystemClient;
import com.wicket.okrcalc.base.service.dto.req.ImplementRecalcEvaTempAllDataLoopStartReq;
import java.util.Collections;
import java.util.ArrayList;
import java.util.List;
import com.wicket.okrcalc.common.util.CommonFunctionHelper;
import com.wicket.okrcalc.biz.service.InterfaceModeService;
//import com.wicket.okrapp.integration.dto.CountNumberDataSetsDto;


/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class GridCalculateServiceImpl
  implements com.wicket.okrcalc.biz.service.GridCalculateService {

  @Resource
  private RedisUtil redisUtil;
//@Resource
 //private MCustomFieldsService mCustomFieldsService;
@Resource
  private NbGridCalculate nbGridCalculate;
//@Resource
 //private MCustomFields3Service mCustomFields3Service;
@Resource
  private StandardDataService standardDataService;
@Resource
  private FwCompInterfaceModeClient fwCompInterfaceModeClient;
@Resource
  private FwAppTargetCycleClient fwAppTargetCycleClient;
@Resource
  private MOmsStandardDataResultService mOmsStandardDataResultService;
@Resource
  private FwAppCycleStageDataClient fwAppCycleStageDataClient;
@Resource
  private CalculationRulesService calculationRulesService;
@Resource
  private FwAppGridCalculateClient fwAppGridCalculateClient;
@Resource
  private FwCompConfSchemeClient fwCompConfSchemeClient;
@Resource
  private FwAppTargetContentClient fwAppTargetContentClient;
@Resource
  private FwAppIndexSystemClient fwAppIndexSystemClient;
@Resource
  private InterfaceModeService interfaceModeService;
//@Resource
 //private MOmsExecuteCycleStageService mOmsExecuteCycleStageService;
//@Resource
 //private undefinedService undefinedService;

/**
   * D4-执行实际得分公式分析(公共)[6391]
   * gen by moon at 4/30/2023, 9:24:22 PM
   */
  @Trace(operationName = "D4-执行实际得分公式分析(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualScoreCalcFormulaAnalysisComRespDto implementActualScoreCalcFormulaAnalysisCom(ImplementActualScoreCalcFormulaAnalysisComReqDto reqDto){
    
      
      //步骤0: M4-接收字段入参（计算使用） - addAcceptField
     //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  
  
    /*M4-接收入参字段[6392]  用于特殊方法接收上游入参。 */
    
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);
      
      
      
    
ImplementActualScoreCalcFormulaAnalysisComRespDto retData = new ImplementActualScoreCalcFormulaAnalysisComRespDto();
  
  

  
  
return retData;
  }
/**
   * D4-执行实际值公式分析(公共)[6389]
   * gen by moon at 4/18/2024, 10:58:42 PM
   */
  @Trace(operationName = "D4-执行实际值公式分析(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueCalcFormulaAnalysisComRespDto implementActualValueCalcFormulaAnalysisCom(ImplementActualValueCalcFormulaAnalysisComReqDto reqDto){
    

      //virtualUsage D4-执行实际值系统对接分析(公共)  38731
      ImplementActualValueSystemDockingAnalysisComRespDto implementActualValueSystemDockingAnalysisComRespDto = null;
    ImplementActualValueSystemDockingAnalysisComReqDto implementActualValueSystemDockingAnalysisComReqDto=new ImplementActualValueSystemDockingAnalysisComReqDto();
  if(reqDto!=null){
implementActualValueSystemDockingAnalysisComReqDto.setCalculateDataSource(reqDto.getCalculateDataSource());//SimpleFieldAssign//sourceId:876224_1_38731
implementActualValueSystemDockingAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:876225_1_38731
implementActualValueSystemDockingAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:876226_1_38731
implementActualValueSystemDockingAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:1165046_1_38731
implementActualValueSystemDockingAnalysisComReqDto.setQuantityObjectiveNoValue(reqDto.getQuantityObjectiveNoValue());//SimpleFieldAssign//sourceId:1165047_1_38731
    }

    /*D4-执行实际值系统对接分析(公共)[6417]   */
Assert.isNull(implementActualValueSystemDockingAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-执行实际值公式分析(公共)-D4-执行实际值系统对接分析(公共)-关联目标内容类型编码不能为空",false);
Assert.isNull(implementActualValueSystemDockingAnalysisComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值公式分析(公共)-D4-执行实际值系统对接分析(公共)-标准数据计算周期模型不能为空",false);
      implementActualValueSystemDockingAnalysisComRespDto = implementActualValueSystemDockingAnalysisCom(implementActualValueSystemDockingAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;


  
//virtualUsage D4-实际值克隆其他树条件模型(公共)  38732
      ImplementActualValueCloneFormAnalysisComRespDto implementActualValueCloneFormAnalysisComRespDto = null;
    if(implementActualValueSystemDockingAnalysisComRespDto !=null){
    ImplementActualValueCloneFormAnalysisComReqDto implementActualValueCloneFormAnalysisComReqDto=new ImplementActualValueCloneFormAnalysisComReqDto();
  if(implementActualValueSystemDockingAnalysisComRespDto!=null){
      implementActualValueCloneFormAnalysisComReqDto.setActualValueCalcFormula(implementActualValueSystemDockingAnalysisComRespDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:1628231_1_38732
    }
  if(reqDto!=null){
implementActualValueCloneFormAnalysisComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:875138_1_38732
implementActualValueCloneFormAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:875134_1_38732
implementActualValueCloneFormAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:875129_1_38732
implementActualValueCloneFormAnalysisComReqDto.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:875130_1_38732
implementActualValueCloneFormAnalysisComReqDto.setCalculateDataSource(reqDto.getCalculateDataSource());//SimpleFieldAssign//sourceId:875131_1_38732
implementActualValueCloneFormAnalysisComReqDto.setQuantityObjectiveNoValue(reqDto.getQuantityObjectiveNoValue());//SimpleFieldAssign//sourceId:875132_1_38732
implementActualValueCloneFormAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:875140_1_38732
    }

    /*D4-实际值克隆其他树条件模型(公共)[6402]   */
Assert.isNull(implementActualValueCloneFormAnalysisComReqDto.getEvaObjTypeCode(),"D4-执行实际值公式分析(公共)-D4-实际值克隆其他树条件模型(公共)-被评对象类型编码不能为空",false);
Assert.isNull(implementActualValueCloneFormAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-执行实际值公式分析(公共)-D4-实际值克隆其他树条件模型(公共)-关联目标内容类型编码不能为空",false);
Assert.isNull(implementActualValueCloneFormAnalysisComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值公式分析(公共)-D4-实际值克隆其他树条件模型(公共)-标准数据计算周期模型不能为空",false);
      implementActualValueCloneFormAnalysisComRespDto = implementActualValueCloneFormAnalysisCom(implementActualValueCloneFormAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;



           }
//virtualUsage D4-实际值向左计算条件模型(公共)  38733
      ImplementActualValueRightClacFormAnalysisComRespDto implementActualValueRightClacFormAnalysisComRespDto = null;
    if(implementActualValueCloneFormAnalysisComRespDto !=null){
    ImplementActualValueRightClacFormAnalysisComReqDto implementActualValueRightClacFormAnalysisComReqDto=new ImplementActualValueRightClacFormAnalysisComReqDto();
  if(implementActualValueCloneFormAnalysisComRespDto!=null){
      implementActualValueRightClacFormAnalysisComReqDto.setActualValueCalcFormula(implementActualValueCloneFormAnalysisComRespDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:1628235_1_38733
    }
  if(reqDto!=null){
implementActualValueRightClacFormAnalysisComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:994546_1_38733
implementActualValueRightClacFormAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:876237_1_38733
implementActualValueRightClacFormAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:876239_1_38733
implementActualValueRightClacFormAnalysisComReqDto.setQuantityObjectiveNoValue(reqDto.getQuantityObjectiveNoValue());//SimpleFieldAssign//sourceId:876241_1_38733
implementActualValueRightClacFormAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:876242_1_38733
    }

    /*D4-实际值向左计算条件模型(公共)[6403]   */
Assert.isNull(implementActualValueRightClacFormAnalysisComReqDto.getEvaObjTypeCode(),"D4-执行实际值公式分析(公共)-D4-实际值向左计算条件模型(公共)-被评对象类型编码不能为空",false);
Assert.isNull(implementActualValueRightClacFormAnalysisComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值公式分析(公共)-D4-实际值向左计算条件模型(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementActualValueRightClacFormAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-执行实际值公式分析(公共)-D4-实际值向左计算条件模型(公共)-关联目标内容类型编码不能为空",false);
      implementActualValueRightClacFormAnalysisComRespDto = implementActualValueRightClacFormAnalysisCom(implementActualValueRightClacFormAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;



           }
//virtualUsage D4-实际值向下计算条件模型(公共)  38734
      ImplementActualValueDownClacFormAnalysisComRespDto implementActualValueDownClacFormAnalysisComRespDto = null;
    if(implementActualValueRightClacFormAnalysisComRespDto !=null){
    ImplementActualValueDownClacFormAnalysisComReqDto implementActualValueDownClacFormAnalysisComReqDto=new ImplementActualValueDownClacFormAnalysisComReqDto();
  if(implementActualValueRightClacFormAnalysisComRespDto!=null){
      implementActualValueDownClacFormAnalysisComReqDto.setActualValueCalcFormula(implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:1628238_1_38734
    }
  if(reqDto!=null){
implementActualValueDownClacFormAnalysisComReqDto.setReportType(reqDto.getReportType());//SimpleFieldAssign//sourceId:876252_1_38734
implementActualValueDownClacFormAnalysisComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:876259_1_38734
implementActualValueDownClacFormAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:876254_1_38734
implementActualValueDownClacFormAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:876248_1_38734
implementActualValueDownClacFormAnalysisComReqDto.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:876249_1_38734
implementActualValueDownClacFormAnalysisComReqDto.setCalculateDataSource(reqDto.getCalculateDataSource());//SimpleFieldAssign//sourceId:876250_1_38734
implementActualValueDownClacFormAnalysisComReqDto.setQuantityObjectiveNoValue(reqDto.getQuantityObjectiveNoValue());//SimpleFieldAssign//sourceId:876251_1_38734
implementActualValueDownClacFormAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:876260_1_38734
    }

    /*D4-实际值向下计算条件模型(公共)[6404]   */
Assert.isNull(implementActualValueDownClacFormAnalysisComReqDto.getReportType(),"D4-执行实际值公式分析(公共)-D4-实际值向下计算条件模型(公共)-汇报类型不能为空",false);
Assert.isNull(implementActualValueDownClacFormAnalysisComReqDto.getEvaObjTypeCode(),"D4-执行实际值公式分析(公共)-D4-实际值向下计算条件模型(公共)-被评对象类型编码不能为空",false);
Assert.isNull(implementActualValueDownClacFormAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-执行实际值公式分析(公共)-D4-实际值向下计算条件模型(公共)-关联目标内容类型编码不能为空",false);
Assert.isNull(implementActualValueDownClacFormAnalysisComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值公式分析(公共)-D4-实际值向下计算条件模型(公共)-标准数据计算周期模型不能为空",false);
      implementActualValueDownClacFormAnalysisComRespDto = implementActualValueDownClacFormAnalysisCom(implementActualValueDownClacFormAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;



           }
if((implementActualValueSystemDockingAnalysisComRespDto!= null&&  implementActualValueSystemDockingAnalysisComRespDto.getActualValueCalcFormula() !=null && implementActualValueSystemDockingAnalysisComRespDto.getActualValueCalcFormula().equals("SYSTEM_DOCKING"))) {
        //if(D4-执行实际值系统对接分析(公共).实际值计算公式 等于 系统对接实际值)  38735

if((implementActualValueCloneFormAnalysisComRespDto!= null&& implementActualValueCloneFormAnalysisComRespDto.getActualValueCalcFormula() != null ||implementActualValueRightClacFormAnalysisComRespDto!= null&& implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula() != null ||implementActualValueDownClacFormAnalysisComRespDto!= null&& implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula() != null )) {
        //if((D4-实际值克隆其他树条件模型(公共).实际值计算公式 值不等于空  or D4-实际值根据末级周期条件模型(公共).实际值计算公式 值不等于空  or D4-参照实际值计算条件模型(公共).参照实际值计算公式 值不等于空 ))  38737

//异常结束 38772
      throw new BizException("C10100255","实际值计算公式错误~",false);
      }
      }
if((implementActualValueCloneFormAnalysisComRespDto!= null&& implementActualValueCloneFormAnalysisComRespDto.getActualValueCalcFormula() != null )){
        //if(D4-实际值克隆其他树条件模型(公共).实际值计算公式 值不等于空 )  38739

if((implementActualValueSystemDockingAnalysisComRespDto!= null&& implementActualValueSystemDockingAnalysisComRespDto.getActualValueCalcFormula() != null ||implementActualValueRightClacFormAnalysisComRespDto!= null&& implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula() != null )) {
        //if((D4-执行实际值系统对接分析(公共).实际值计算公式 值不等于空  or D4-实际值向左计算条件模型(公共).实际值计算公式 值不等于空 ))  38742
    
//异常结束 38838
      throw new BizException("C10100255","实际值计算公式错误~",false);
      }
else if((implementActualValueCloneFormAnalysisComRespDto!= null&&  implementActualValueCloneFormAnalysisComRespDto.getActualValueCalcFormula() !=null && implementActualValueCloneFormAnalysisComRespDto.getActualValueCalcFormula().equals("CLONE_EVA_OBJECT"))){
       //elseif(D4-实际值克隆其他树条件模型(公共).实际值计算公式 等于 人工填报实际值克隆评价对象树)  38744

ImplementAnalysisEvaObjectAndOkrPerDataComRespDto implementAnalysisEvaObjectAndOkrPerDataComRespDto = null;
    ImplementAnalysisEvaObjectAndOkrPerDataComReqDto implementAnalysisEvaObjectAndOkrPerDataComReqDto=new ImplementAnalysisEvaObjectAndOkrPerDataComReqDto();
  implementAnalysisEvaObjectAndOkrPerDataComReqDto.setDataType("ACTUAL_VALUE");//sourceId:1628184_1_63955
if(reqDto!=null){
      implementAnalysisEvaObjectAndOkrPerDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1628182_1_63955
implementAnalysisEvaObjectAndOkrPerDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1628183_1_63955
implementAnalysisEvaObjectAndOkrPerDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1628192_1_63955
implementAnalysisEvaObjectAndOkrPerDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1628185_1_63955
    }

    /*D4-分析评价对象及个人OKR数据(公共)[6414]   */
    Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getCycleId(),"D4-执行实际值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-周期ID不能为空",false);
Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getUpdateCycleId(),"D4-执行实际值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-更新周期ID不能为空",false);
Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getDataType(),"D4-执行实际值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-数据点类型不能为空",false);
Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getEvaluationTemplateId(),"D4-执行实际值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-冗余评价模板ID不能为空",false);
      implementAnalysisEvaObjectAndOkrPerDataComRespDto = implementAnalysisEvaObjectAndOkrPerDataCom(implementAnalysisEvaObjectAndOkrPerDataComReqDto)/*vcase invoke 同服务,同domain*/;



ImplementActualValueCloneOtherTreeComRespDto implementActualValueCloneOtherTreeComRespDto = null;
    if(implementAnalysisEvaObjectAndOkrPerDataComRespDto !=null){
          ImplementActualValueCloneOtherTreeComReqDto implementActualValueCloneOtherTreeComReqDto=new ImplementActualValueCloneOtherTreeComReqDto();
if(reqDto!=null){
      implementActualValueCloneOtherTreeComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897647_1_40088
implementActualValueCloneOtherTreeComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897648_1_40088
implementActualValueCloneOtherTreeComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897649_1_40088
implementActualValueCloneOtherTreeComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897650_1_40088
implementActualValueCloneOtherTreeComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:959741_1_40088
implementActualValueCloneOtherTreeComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897653_1_40088
implementActualValueCloneOtherTreeComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959066_1_40088
implementActualValueCloneOtherTreeComReqDto.setWorkCycleUpdateSlice(reqDto.getWorkCycleUpdateSlice());//SimpleFieldAssign//sourceId:897652_1_40088
implementActualValueCloneOtherTreeComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083938_1_40088
implementActualValueCloneOtherTreeComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897654_1_40088
    }
if(implementAnalysisEvaObjectAndOkrPerDataComRespDto!=null){
      implementActualValueCloneOtherTreeComReqDto.setDataResultId(implementAnalysisEvaObjectAndOkrPerDataComRespDto.getEvaObjectDataId());//SimpleFieldAssign//sourceId:959742_1_40088
    }

    /*D4-执行实际值克隆其他树(公共)[6491]   */
Assert.isNull(implementActualValueCloneOtherTreeComReqDto.getDecimalPointRules(),"D4-执行实际值公式分析(公共)-D4-执行实际值克隆其他树(公共)-小数点规则不能为空",false);
Assert.isNull(implementActualValueCloneOtherTreeComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值公式分析(公共)-D4-执行实际值克隆其他树(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementActualValueCloneOtherTreeComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值公式分析(公共)-D4-执行实际值克隆其他树(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementActualValueCloneOtherTreeComReqDto.getCycleId(),"D4-执行实际值公式分析(公共)-D4-执行实际值克隆其他树(公共)-周期ID不能为空",false);
Assert.isNull(implementActualValueCloneOtherTreeComReqDto.getUpdateCycleId(),"D4-执行实际值公式分析(公共)-D4-执行实际值克隆其他树(公共)-更新周期ID不能为空",false);
Assert.isNull(implementActualValueCloneOtherTreeComReqDto.getParentSubMidCycleType(),"D4-执行实际值公式分析(公共)-D4-执行实际值克隆其他树(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementActualValueCloneOtherTreeComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值公式分析(公共)-D4-执行实际值克隆其他树(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementActualValueCloneOtherTreeComReqDto.getEvaluationTemplateId(),"D4-执行实际值公式分析(公共)-D4-执行实际值克隆其他树(公共)-冗余评价模板ID不能为空",false);
      implementActualValueCloneOtherTreeComRespDto = implementActualValueCloneOtherTreeCom(implementActualValueCloneOtherTreeComReqDto)/*vcase invoke 同服务,同domain*/;



           }
    }
else if((implementActualValueCloneFormAnalysisComRespDto!= null&&  implementActualValueCloneFormAnalysisComRespDto.getActualValueCalcFormula() !=null && implementActualValueCloneFormAnalysisComRespDto.getActualValueCalcFormula().equals("MANUAL_REPORT"))){
       //elseif(D4-实际值克隆其他树条件模型(公共).实际值计算公式 等于 人工填报实际值)  44078

CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("ACTUAL_VALUE");//sourceId:1002851_1_44079
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("CHANGE_FROM_LAST_TARGET");//sourceId:1002852_1_44079
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_TARGET_LIFT_RATIO");//sourceId:1002853_1_44079
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1002857_1_44079
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1002858_1_44079
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1002849_1_44079
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1002850_1_44079
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1002854_1_44079
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:1002856_1_44079
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1002855_1_44079
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行实际值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



    }
    }
if((implementActualValueRightClacFormAnalysisComRespDto!= null&& implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula() != null )){
        //if(D4-实际值向左计算条件模型(公共).实际值计算公式 值不等于空 )  38745
      
if((implementActualValueSystemDockingAnalysisComRespDto!= null&& implementActualValueSystemDockingAnalysisComRespDto.getActualValueCalcFormula() != null ||implementActualValueCloneFormAnalysisComRespDto!= null&& implementActualValueCloneFormAnalysisComRespDto.getActualValueCalcFormula() != null ||implementActualValueDownClacFormAnalysisComRespDto!= null&& implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula() != null )) {
        //if((D4-执行实际值系统对接分析(公共).实际值计算公式 值不等于空  or D4-实际值克隆其他树条件模型(公共).实际值计算公式 值不等于空  or D4-参照实际值计算条件模型(公共).参照实际值计算公式 值不等于空 ))  38747

//异常结束 38840
      throw new BizException("C10100255","实际值计算公式错误~",false);
      }
else if((implementActualValueRightClacFormAnalysisComRespDto!= null&&  implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula() !=null && implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula().equals("RIGHTWARD_CALCULATION")||implementActualValueRightClacFormAnalysisComRespDto!= null&&  implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula() !=null && implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula().equals("RIGHTWARD_CALCULATION_SUM"))){
       //elseif((D4-实际值向左计算条件模型(公共).实际值计算公式 等于 向左取最近可循环周期最新 or D4-实际值向左计算条件模型(公共).实际值计算公式 等于 向左取最近可循环周期求和))  38748

ImplementAnalysisCurrentCycleIsUpdateCycleComRespDto implementAnalysisCurrentCycleIsUpdateCycleComRespDto = null;
    ImplementAnalysisCurrentCycleIsUpdateCycleComReqDto implementAnalysisCurrentCycleIsUpdateCycleComReqDto=new ImplementAnalysisCurrentCycleIsUpdateCycleComReqDto();
  implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setDataType("ACTUAL_VALUE");//sourceId:1628198_1_63956
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:1628199_1_63956
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setDecimalDigitsLastRules("MALING");//sourceId:1628200_1_63956
if(reqDto!=null){
      implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1628202_1_63956
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1628195_1_63956
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1628193_1_63956
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1628194_1_63956
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setLastCycleType(reqDto.getLastCycleType());//SimpleFieldAssign//sourceId:1628197_1_63956
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1628196_1_63956
    }

    /*D3-分析最新可循环周期标准数据(公共)[7184]   */
    Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getCycleId(),"D4-执行实际值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-周期ID不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getUpdateCycleId(),"D4-执行实际值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getDataType(),"D4-执行实际值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-数据点类型不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getEvaluationTemplateId(),"D4-执行实际值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getDecimalPointRules(),"D4-执行实际值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-小数最后一位规则不能为空",false);
      implementAnalysisCurrentCycleIsUpdateCycleComRespDto = fwAppGridCalculateClient.implementAnalysisCurrentCycleIsUpdateCycleCom(implementAnalysisCurrentCycleIsUpdateCycleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



ImplementActualValueRightCalcFormulaComRespDto implementActualValueRightCalcFormulaComRespDto = null;
    if(implementActualValueRightClacFormAnalysisComRespDto !=null&&implementAnalysisCurrentCycleIsUpdateCycleComRespDto !=null){
          ImplementActualValueRightCalcFormulaComReqDto implementActualValueRightCalcFormulaComReqDto=new ImplementActualValueRightCalcFormulaComReqDto();
  if(implementActualValueRightClacFormAnalysisComRespDto!=null){
      implementActualValueRightCalcFormulaComReqDto.setActualValueCalcFormula(implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:897421_1_40089
    }
if(reqDto!=null){
      implementActualValueRightCalcFormulaComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959067_1_40089
      implementActualValueRightCalcFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897784_1_40089
implementActualValueRightCalcFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897785_1_40089
implementActualValueRightCalcFormulaComReqDto.setLastCycleType(reqDto.getLastCycleType());//SimpleFieldAssign//sourceId:897791_1_40089
implementActualValueRightCalcFormulaComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897787_1_40089
implementActualValueRightCalcFormulaComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897788_1_40089
implementActualValueRightCalcFormulaComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897789_1_40089
implementActualValueRightCalcFormulaComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897792_1_40089
implementActualValueRightCalcFormulaComReqDto.setWorkCycleUpdateSlice(reqDto.getWorkCycleUpdateSlice());//SimpleFieldAssign//sourceId:897790_1_40089
implementActualValueRightCalcFormulaComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083918_1_40089
implementActualValueRightCalcFormulaComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897793_1_40089
    }
if(implementAnalysisCurrentCycleIsUpdateCycleComRespDto!=null){
      implementActualValueRightCalcFormulaComReqDto.setDataResultId(implementAnalysisCurrentCycleIsUpdateCycleComRespDto.getDataResultId());//SimpleFieldAssign//sourceId:1006139_1_40089
    }

    /*D4-执行实际值向左计算(公共)[6476]   */
    Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getActualValueCalcFormula(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-实际值计算公式不能为空",false);
Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getDecimalPointRules(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-小数点规则不能为空",false);
Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getCycleId(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-周期ID不能为空",false);
Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getUpdateCycleId(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-更新周期ID不能为空",false);
Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getParentSubMidCycleType(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementActualValueRightCalcFormulaComReqDto.getEvaluationTemplateId(),"D4-执行实际值公式分析(公共)-D4-执行实际值向左计算(公共)-冗余评价模板ID不能为空",false);
     implementActualValueRightCalcFormulaComRespDto = implementActualValueRightCalcFormulaCom(implementActualValueRightCalcFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
    }
    }
if((implementActualValueDownClacFormAnalysisComRespDto!= null&& implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula() != null )){
        //if(D4-实际值向下计算条件模型(公共).参照实际值计算公式 值不等于空 )  38755

if((implementActualValueSystemDockingAnalysisComRespDto!= null&& implementActualValueSystemDockingAnalysisComRespDto.getActualValueCalcFormula() != null ||implementActualValueRightClacFormAnalysisComRespDto!= null&& implementActualValueRightClacFormAnalysisComRespDto.getActualValueCalcFormula() != null )) {
        //if((D4-执行实际值系统对接分析(公共).实际值计算公式 值不等于空  or D4-实际值向左计算条件模型(公共).实际值计算公式 值不等于空 ))  38757

//异常结束 38842
      throw new BizException("C10100255","实际值计算公式错误~",false);
      }
else if((implementActualValueDownClacFormAnalysisComRespDto!= null&&  implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula() !=null && implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula().equals("DOWNWARD_CALCULATION_SUM")||implementActualValueDownClacFormAnalysisComRespDto!= null&&  implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula() !=null && implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula().equals("DOWNWARD_CALCULATION_SUM_COPY")||implementActualValueDownClacFormAnalysisComRespDto!= null&&  implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula() !=null && implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula().equals("DOWNWARD_CALCULATION_WEIGHT")||implementActualValueDownClacFormAnalysisComRespDto!= null&&  implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula() !=null && implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula().equals("DOWNWARD_CALCULATION_WEIGHT_COPY"))){
       //elseif((D4-实际值向下计算条件模型(公共).参照实际值计算公式 等于 向下计算参照值不赋值（求和） or D4-实际值向下计算条件模型(公共).参照实际值计算公式 等于 向下计算参照值并赋值（求和） or D4-实际值向下计算条件模型(公共).参照实际值计算公式 等于 向下计算参照值不赋值（权重求和） or D4-实际值向下计算条件模型(公共).参照实际值计算公式 等于 向下计算参照值并赋值（权重求和）))  38758

ImplementActualValueDownClacComRespDto implementActualValueDownClacComRespDto = null;
    if(implementActualValueDownClacFormAnalysisComRespDto !=null){
          ImplementActualValueDownClacComReqDto implementActualValueDownClacComReqDto=new ImplementActualValueDownClacComReqDto();
  if(implementActualValueDownClacFormAnalysisComRespDto!=null){
      implementActualValueDownClacComReqDto.setActualValueCalcFormula(implementActualValueDownClacFormAnalysisComRespDto.getCountActualValueCalcFormula());//SimpleFieldAssign//sourceId:898040_1_40090
    }
if(reqDto!=null){
      implementActualValueDownClacComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:898041_1_40090
implementActualValueDownClacComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:898042_1_40090
implementActualValueDownClacComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:898043_1_40090
implementActualValueDownClacComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:898044_1_40090
implementActualValueDownClacComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1046381_1_40090
implementActualValueDownClacComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:898045_1_40090
implementActualValueDownClacComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959040_1_40090
implementActualValueDownClacComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:898046_1_40090
implementActualValueDownClacComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083141_1_40090
implementActualValueDownClacComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898047_1_40090
    }

    /*D4-执行实际值向下计算(公共)[6490]   */
    Assert.isNull(implementActualValueDownClacComReqDto.getActualValueCalcFormula(),"D4-执行实际值公式分析(公共)-D4-执行实际值向下计算(公共)-实际值计算公式不能为空",false);
Assert.isNull(implementActualValueDownClacComReqDto.getDecimalPointRules(),"D4-执行实际值公式分析(公共)-D4-执行实际值向下计算(公共)-小数点规则不能为空",false);
Assert.isNull(implementActualValueDownClacComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值公式分析(公共)-D4-执行实际值向下计算(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementActualValueDownClacComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值公式分析(公共)-D4-执行实际值向下计算(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementActualValueDownClacComReqDto.getCycleId(),"D4-执行实际值公式分析(公共)-D4-执行实际值向下计算(公共)-周期ID不能为空",false);
Assert.isNull(implementActualValueDownClacComReqDto.getParentSubMidCycleType(),"D4-执行实际值公式分析(公共)-D4-执行实际值向下计算(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementActualValueDownClacComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值公式分析(公共)-D4-执行实际值向下计算(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementActualValueDownClacComReqDto.getEvaluationTemplateId(),"D4-执行实际值公式分析(公共)-D4-执行实际值向下计算(公共)-冗余评价模板ID不能为空",false);
      implementActualValueDownClacComRespDto = implementActualValueDownClacCom(implementActualValueDownClacComReqDto)/*vcase invoke 同服务,同domain*/;



           }
    }
    }
ImplementActualValueCalcFormulaAnalysisComRespDto retData = new ImplementActualValueCalcFormulaAnalysisComRespDto();

  

  
  
return retData;
  }
/**
   * D4-执行进度值公式分析(公共)[6388]
   * gen by moon at 3/21/2024, 6:35:13 PM
   */
  @Trace(operationName = "D4-执行进度值公式分析(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueCalcFormulaAnalysisComRespDto implementProgressValueCalcFormulaAnalysisCom(ImplementProgressValueCalcFormulaAnalysisComReqDto reqDto){
    

      //virtualUsage D4-进度值克隆其他树条件模型(公共)  38530
      ImplementProgressValueCloneFormAnalysisComRespDto implementProgressValueCloneFormAnalysisComRespDto = null;
    ImplementProgressValueCloneFormAnalysisComReqDto implementProgressValueCloneFormAnalysisComReqDto=new ImplementProgressValueCloneFormAnalysisComReqDto();
  if(reqDto!=null){
      implementProgressValueCloneFormAnalysisComReqDto.setSchemeDataPara(reqDto.getSchemeDataPara());//SimpleFieldAssign//sourceId:871645_1_38530
implementProgressValueCloneFormAnalysisComReqDto.setReportType(reqDto.getReportType());//SimpleFieldAssign//sourceId:873545_1_38530
//implementProgressValueCloneFormAnalysisComReqDto.setConstTaskIsOpenReport(reqDto.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1142481_1_38530
implementProgressValueCloneFormAnalysisComReqDto.setNoPracticalValueObjIsProgReport(reqDto.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:1167815_1_38530
implementProgressValueCloneFormAnalysisComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:871646_1_38530
implementProgressValueCloneFormAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:873544_1_38530
implementProgressValueCloneFormAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:873892_1_38530
implementProgressValueCloneFormAnalysisComReqDto.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:873893_1_38530
implementProgressValueCloneFormAnalysisComReqDto.setCalculateDataSource(reqDto.getCalculateDataSource());//SimpleFieldAssign//sourceId:873894_1_38530
implementProgressValueCloneFormAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:871701_1_38530
    }

    /*D4-进度值克隆其他树条件模型(公共)[6399]   */
    Assert.isNull(implementProgressValueCloneFormAnalysisComReqDto.getSchemeDataPara(),"D4-执行进度值公式分析(公共)-D4-进度值克隆其他树条件模型(公共)-评价模板商业参数不能为空",false);
Assert.isNull(implementProgressValueCloneFormAnalysisComReqDto.getReportType(),"D4-执行进度值公式分析(公共)-D4-进度值克隆其他树条件模型(公共)-汇报类型不能为空",false);
//Assert.isNull(implementProgressValueCloneFormAnalysisComReqDto.getConstTaskIsOpenReport(),"D4-执行进度值公式分析(公共)-D4-进度值克隆其他树条件模型(公共)-建设任务是否开启汇报不能为空",false);
Assert.isNull(implementProgressValueCloneFormAnalysisComReqDto.getEvaObjTypeCode(),"D4-执行进度值公式分析(公共)-D4-进度值克隆其他树条件模型(公共)-被评对象类型编码不能为空",false);
Assert.isNull(implementProgressValueCloneFormAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-执行进度值公式分析(公共)-D4-进度值克隆其他树条件模型(公共)-关联目标内容类型编码不能为空",false);
Assert.isNull(implementProgressValueCloneFormAnalysisComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值公式分析(公共)-D4-进度值克隆其他树条件模型(公共)-标准数据计算周期模型不能为空",false);
      implementProgressValueCloneFormAnalysisComRespDto = implementProgressValueCloneFormAnalysisCom(implementProgressValueCloneFormAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D4-进度值向左计算条件模型（公共）  38531
      ImplementProgressValueRightClacFormAnalysisComRespDto implementProgressValueRightClacFormAnalysisComRespDto = null;
    if(implementProgressValueCloneFormAnalysisComRespDto !=null&&implementProgressValueCloneFormAnalysisComRespDto!= null&&  implementProgressValueCloneFormAnalysisComRespDto.getProgressValueCalcFormula() !=null){
    ImplementProgressValueRightClacFormAnalysisComReqDto implementProgressValueRightClacFormAnalysisComReqDto=new ImplementProgressValueRightClacFormAnalysisComReqDto();
  if(implementProgressValueCloneFormAnalysisComRespDto!=null){
      implementProgressValueRightClacFormAnalysisComReqDto.setProgressValueCalcFormula(implementProgressValueCloneFormAnalysisComRespDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:1628241_1_38531
    }
  if(reqDto!=null){
      implementProgressValueRightClacFormAnalysisComReqDto.setSchemeDataPara(reqDto.getSchemeDataPara());//SimpleFieldAssign//sourceId:871718_1_38531
implementProgressValueRightClacFormAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:871720_1_38531
implementProgressValueRightClacFormAnalysisComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:994536_1_38531
implementProgressValueRightClacFormAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1628242_1_38531
implementProgressValueRightClacFormAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:1165051_1_38531
implementProgressValueRightClacFormAnalysisComReqDto.setNoPracticalValueObjIsProgReport(reqDto.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:1165052_1_38531
    }

    /*D4-进度值向左计算条件模型（公共）[6400]   */
Assert.isNull(implementProgressValueRightClacFormAnalysisComReqDto.getSchemeDataPara(),"D4-执行进度值公式分析(公共)-D4-进度值向左计算条件模型（公共）-评价模板商业参数不能为空",false);
Assert.isNull(implementProgressValueRightClacFormAnalysisComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值公式分析(公共)-D4-进度值向左计算条件模型（公共）-标准数据计算周期模型不能为空",false);
Assert.isNull(implementProgressValueRightClacFormAnalysisComReqDto.getEvaObjTypeCode(),"D4-执行进度值公式分析(公共)-D4-进度值向左计算条件模型（公共）-被评对象类型编码不能为空",false);
Assert.isNull(implementProgressValueRightClacFormAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-执行进度值公式分析(公共)-D4-进度值向左计算条件模型（公共）-关联目标内容类型编码不能为空",false);
      implementProgressValueRightClacFormAnalysisComRespDto = implementProgressValueRightClacFormAnalysisCom(implementProgressValueRightClacFormAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;



           }
//virtualUsage D4-进度值向下计算条件模型（公共）  38532
      ImplementProgressValueDownClacFormAnalysisComRespDto implementProgressValueDownClacFormAnalysisComRespDto = null;
    if(implementProgressValueRightClacFormAnalysisComRespDto !=null){
    ImplementProgressValueDownClacFormAnalysisComReqDto implementProgressValueDownClacFormAnalysisComReqDto=new ImplementProgressValueDownClacFormAnalysisComReqDto();
  if(implementProgressValueRightClacFormAnalysisComRespDto!=null){
      implementProgressValueDownClacFormAnalysisComReqDto.setProgressValueCalcFormula(implementProgressValueRightClacFormAnalysisComRespDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:1628245_1_38532
    }
  if(reqDto!=null){
      implementProgressValueDownClacFormAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:873495_1_38532
      implementProgressValueDownClacFormAnalysisComReqDto.setSchemeDataPara(reqDto.getSchemeDataPara());//SimpleFieldAssign//sourceId:873488_1_38532
implementProgressValueDownClacFormAnalysisComReqDto.setReportType(reqDto.getReportType());//SimpleFieldAssign//sourceId:873494_1_38532
//implementProgressValueDownClacFormAnalysisComReqDto.setConstTaskIsOpenReport(reqDto.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1136272_1_38532
implementProgressValueDownClacFormAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:1167649_1_38532
implementProgressValueDownClacFormAnalysisComReqDto.setNoPracticalValueObjIsProgReport(reqDto.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:1167650_1_38532
implementProgressValueDownClacFormAnalysisComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:873493_1_38532
implementProgressValueDownClacFormAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:873489_1_38532
implementProgressValueDownClacFormAnalysisComReqDto.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:873490_1_38532
    }

    /*D4-进度值向下计算条件模型（公共）[6398]   */
    Assert.isNull(implementProgressValueDownClacFormAnalysisComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值公式分析(公共)-D4-进度值向下计算条件模型（公共）-标准数据计算周期模型不能为空",false);
Assert.isNull(implementProgressValueDownClacFormAnalysisComReqDto.getSchemeDataPara(),"D4-执行进度值公式分析(公共)-D4-进度值向下计算条件模型（公共）-评价模板商业参数不能为空",false);
Assert.isNull(implementProgressValueDownClacFormAnalysisComReqDto.getReportType(),"D4-执行进度值公式分析(公共)-D4-进度值向下计算条件模型（公共）-汇报类型不能为空",false);
Assert.isNull(implementProgressValueDownClacFormAnalysisComReqDto.getEvaObjTypeCode(),"D4-执行进度值公式分析(公共)-D4-进度值向下计算条件模型（公共）-被评对象类型编码不能为空",false);
Assert.isNull(implementProgressValueDownClacFormAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-执行进度值公式分析(公共)-D4-进度值向下计算条件模型（公共）-关联目标内容类型编码不能为空",false);
      implementProgressValueDownClacFormAnalysisComRespDto = implementProgressValueDownClacFormAnalysisCom(implementProgressValueDownClacFormAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;

  
  
           }
if((implementProgressValueCloneFormAnalysisComRespDto!= null&& implementProgressValueCloneFormAnalysisComRespDto.getProgressValueCalcFormula() != null )&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))) {
        //if(D4-进度值克隆其他树条件模型(公共).进度值计算公式 值不等于空  and (D4-执行进度值公式分析(公共).评价模板数据参数 等于 进度型 or D4-执行进度值公式分析(公共).评价模板数据参数 等于 混合型))  38533

if((implementProgressValueCloneFormAnalysisComRespDto!= null&&  implementProgressValueCloneFormAnalysisComRespDto.getProgressValueCalcFormula() !=null && implementProgressValueCloneFormAnalysisComRespDto.getProgressValueCalcFormula().equals("CLONE_EVA_OBJECT"))) {
        //if(D4-进度值克隆其他树条件模型(公共).进度值计算公式 等于 部门目标任务书树进度值克隆主树)  38763

ImplementAnalysisEvaObjectAndOkrPerDataComRespDto implementAnalysisEvaObjectAndOkrPerDataComRespDto = null;
    ImplementAnalysisEvaObjectAndOkrPerDataComReqDto implementAnalysisEvaObjectAndOkrPerDataComReqDto=new ImplementAnalysisEvaObjectAndOkrPerDataComReqDto();
  implementAnalysisEvaObjectAndOkrPerDataComReqDto.setDataType("PROGRESS_VALUE");//sourceId:1628155_1_63952
if(reqDto!=null){
      implementAnalysisEvaObjectAndOkrPerDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1628153_1_63952
implementAnalysisEvaObjectAndOkrPerDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1628154_1_63952
implementAnalysisEvaObjectAndOkrPerDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1628163_1_63952
implementAnalysisEvaObjectAndOkrPerDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1628156_1_63952
    }

    /*D4-分析评价对象及个人OKR数据(公共)[6414]   */
    Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getCycleId(),"D4-执行进度值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-周期ID不能为空",false);
Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getUpdateCycleId(),"D4-执行进度值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-更新周期ID不能为空",false);
Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getDataType(),"D4-执行进度值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-数据点类型不能为空",false);
Assert.isNull(implementAnalysisEvaObjectAndOkrPerDataComReqDto.getEvaluationTemplateId(),"D4-执行进度值公式分析(公共)-D4-分析评价对象及个人OKR数据(公共)-冗余评价模板ID不能为空",false);
      implementAnalysisEvaObjectAndOkrPerDataComRespDto = implementAnalysisEvaObjectAndOkrPerDataCom(implementAnalysisEvaObjectAndOkrPerDataComReqDto)/*vcase invoke 同服务,同domain*/;



ImplementProgressValueCloneOtherTreeComRespDto implementProgressValueCloneOtherTreeComRespDto = null;
    if(implementAnalysisEvaObjectAndOkrPerDataComRespDto !=null){
          ImplementProgressValueCloneOtherTreeComReqDto implementProgressValueCloneOtherTreeComReqDto=new ImplementProgressValueCloneOtherTreeComReqDto();
  if(implementAnalysisEvaObjectAndOkrPerDataComRespDto!=null){
      implementProgressValueCloneOtherTreeComReqDto.setDataResultId(implementAnalysisEvaObjectAndOkrPerDataComRespDto.getEvaObjectDataId());//SimpleFieldAssign//sourceId:1628152_1_40074
    }
if(reqDto!=null){
      implementProgressValueCloneOtherTreeComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897084_1_40074
implementProgressValueCloneOtherTreeComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897085_1_40074
implementProgressValueCloneOtherTreeComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:956731_1_40074
implementProgressValueCloneOtherTreeComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:879273_1_40074
implementProgressValueCloneOtherTreeComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:879274_1_40074
implementProgressValueCloneOtherTreeComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:959597_1_40074
implementProgressValueCloneOtherTreeComReqDto.setWorkCycleUpdateSlice(reqDto.getWorkCycleUpdateSlice());//SimpleFieldAssign//sourceId:897208_1_40074
implementProgressValueCloneOtherTreeComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083934_1_40074
implementProgressValueCloneOtherTreeComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:879276_1_40074
    }

    /*D4-执行进度值克隆其他树(公共)[6422]   */
    Assert.isNull(implementProgressValueCloneOtherTreeComReqDto.getDecimalPointRules(),"D4-执行进度值公式分析(公共)-D4-执行进度值克隆其他树(公共)-小数点规则不能为空",false);
Assert.isNull(implementProgressValueCloneOtherTreeComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值公式分析(公共)-D4-执行进度值克隆其他树(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementProgressValueCloneOtherTreeComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值公式分析(公共)-D4-执行进度值克隆其他树(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementProgressValueCloneOtherTreeComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值公式分析(公共)-D4-执行进度值克隆其他树(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneOtherTreeComReqDto.getCycleId(),"D4-执行进度值公式分析(公共)-D4-执行进度值克隆其他树(公共)-周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneOtherTreeComReqDto.getUpdateCycleId(),"D4-执行进度值公式分析(公共)-D4-执行进度值克隆其他树(公共)-更新周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneOtherTreeComReqDto.getEvaluationTemplateId(),"D4-执行进度值公式分析(公共)-D4-执行进度值克隆其他树(公共)-冗余评价模板ID不能为空",false);
      implementProgressValueCloneOtherTreeComRespDto = implementProgressValueCloneOtherTreeCom(implementProgressValueCloneOtherTreeComReqDto)/*vcase invoke 同服务,同domain*/;



           }
    }
else if((implementProgressValueCloneFormAnalysisComRespDto!= null&&  implementProgressValueCloneFormAnalysisComRespDto.getProgressValueCalcFormula() !=null && implementProgressValueCloneFormAnalysisComRespDto.getProgressValueCalcFormula().equals("MANUAL_REPORT"))){
       //elseif(D4-进度值克隆其他树条件模型(公共).进度值计算公式 等于 人工填报进度值)  44045

CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("PROGRESS_VALUE");//sourceId:1002841_1_44046
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_PROGRESS_VALUE");//sourceId:1002842_1_44046
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("PROGRESS_FROM_LAST_RATIO");//sourceId:1002843_1_44046
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1002847_1_44046
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1002848_1_44046
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1002839_1_44046
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1002840_1_44046
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1002844_1_44046
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1002845_1_44046
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行进度值公式分析(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



    }
else{
       //else  45427

//异常结束 45428
      throw new BizException("C10100244","进度值计算公式错误~",false);
    }
      }
if((implementProgressValueRightClacFormAnalysisComRespDto!= null&& implementProgressValueRightClacFormAnalysisComRespDto.getProgressValueCalcFormula() != null )&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))) {
        //if(D4-进度值向左计算条件模型（公共）.进度值计算公式 值不等于空  and (D4-执行进度值公式分析(公共).评价模板数据参数 等于 进度型 or D4-执行进度值公式分析(公共).评价模板数据参数 等于 混合型))  38534

if((implementProgressValueDownClacFormAnalysisComRespDto!= null&& implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula() != null )) {
        //if(D4-进度值向下计算条件模型（公共）.进度值计算公式 值不等于空 )  38540

//异常结束 38541
      throw new BizException("C10100244","进度值计算公式错误~",false);
      }
else if((implementProgressValueRightClacFormAnalysisComRespDto!= null&& implementProgressValueRightClacFormAnalysisComRespDto.getProgressValueCalcFormula() != null )){
       //elseif(D4-进度值向左计算条件模型（公共）.进度值计算公式 值不等于空 )  49800

ImplementAnalysisCurrentCycleIsUpdateCycleComRespDto implementAnalysisCurrentCycleIsUpdateCycleComRespDto = null;
    ImplementAnalysisCurrentCycleIsUpdateCycleComReqDto implementAnalysisCurrentCycleIsUpdateCycleComReqDto=new ImplementAnalysisCurrentCycleIsUpdateCycleComReqDto();
  implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setDataType("PROGRESS_VALUE");//sourceId:1628175_1_63953
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:1628176_1_63953
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setDecimalDigitsLastRules("MALING");//sourceId:1628177_1_63953
if(reqDto!=null){
      implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1628179_1_63953
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1628172_1_63953
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1628170_1_63953
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1628171_1_63953
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setLastCycleType(reqDto.getLastCycleType());//SimpleFieldAssign//sourceId:1628174_1_63953
implementAnalysisCurrentCycleIsUpdateCycleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1628173_1_63953
    }

    /*D3-分析最新可循环周期标准数据(公共)[7184]   */
    Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getCycleId(),"D4-执行进度值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-周期ID不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getUpdateCycleId(),"D4-执行进度值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getDataType(),"D4-执行进度值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-数据点类型不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getEvaluationTemplateId(),"D4-执行进度值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getDecimalPointRules(),"D4-执行进度值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(implementAnalysisCurrentCycleIsUpdateCycleComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值公式分析(公共)-D3-分析最新可循环周期标准数据(公共)-小数最后一位规则不能为空",false);
      implementAnalysisCurrentCycleIsUpdateCycleComRespDto = fwAppGridCalculateClient.implementAnalysisCurrentCycleIsUpdateCycleCom(implementAnalysisCurrentCycleIsUpdateCycleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



ImplementProgressValueRightCalcFormulaComRespDto implementProgressValueRightCalcFormulaComRespDto = null;
    if(implementAnalysisCurrentCycleIsUpdateCycleComRespDto !=null&&implementProgressValueRightClacFormAnalysisComRespDto !=null){
          ImplementProgressValueRightCalcFormulaComReqDto implementProgressValueRightCalcFormulaComReqDto=new ImplementProgressValueRightCalcFormulaComReqDto();
if(reqDto!=null){
      implementProgressValueRightCalcFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897196_1_49801
implementProgressValueRightCalcFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897197_1_49801
implementProgressValueRightCalcFormulaComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959059_1_49801
implementProgressValueRightCalcFormulaComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897198_1_49801
implementProgressValueRightCalcFormulaComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897199_1_49801
implementProgressValueRightCalcFormulaComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897798_1_49801
implementProgressValueRightCalcFormulaComReqDto.setWorkCycleUpdateSlice(reqDto.getWorkCycleUpdateSlice());//SimpleFieldAssign//sourceId:897202_1_49801
implementProgressValueRightCalcFormulaComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083914_1_49801
implementProgressValueRightCalcFormulaComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897201_1_49801
implementProgressValueRightCalcFormulaComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897203_1_49801
    }
if(implementAnalysisCurrentCycleIsUpdateCycleComRespDto!=null){
      implementProgressValueRightCalcFormulaComReqDto.setDataResultId(implementAnalysisCurrentCycleIsUpdateCycleComRespDto.getDataResultId());//SimpleFieldAssign//sourceId:1005507_1_49801
    }
if(implementProgressValueRightClacFormAnalysisComRespDto!=null){
      implementProgressValueRightCalcFormulaComReqDto.setProgressValueCalcFormula(implementProgressValueRightClacFormAnalysisComRespDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:892514_1_49801
    }

    /*D4-执行进度值向左计算(公共)[6473]   */
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getDecimalPointRules(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-小数点规则不能为空",false);
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getProgressValueCalcFormula(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-进度值计算公式不能为空",false);
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getCycleId(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-周期ID不能为空",false);
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getUpdateCycleId(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-更新周期ID不能为空",false);
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getParentSubMidCycleType(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementProgressValueRightCalcFormulaComReqDto.getEvaluationTemplateId(),"D4-执行进度值公式分析(公共)-D4-执行进度值向左计算(公共)-冗余评价模板ID不能为空",false);
      implementProgressValueRightCalcFormulaComRespDto = implementProgressValueRightCalcFormulaCom(implementProgressValueRightCalcFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
    }
    }
if((implementProgressValueDownClacFormAnalysisComRespDto!= null&& implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula() != null )&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))) {
        //if(D4-进度值向下计算条件模型（公共）.进度值计算公式 值不等于空  and (D4-执行进度值公式分析(公共).评价模板数据参数 等于 进度型 or D4-执行进度值公式分析(公共).评价模板数据参数 等于 混合型))  38544

if((implementProgressValueRightClacFormAnalysisComRespDto!= null&& implementProgressValueRightClacFormAnalysisComRespDto.getProgressValueCalcFormula() != null )) {
        //if(D4-进度值向左计算条件模型（公共）.进度值计算公式 值不等于空 )  38547

//异常结束 38844
      throw new BizException("C10100244","进度值计算公式错误~",false);
      }
else if((implementProgressValueDownClacFormAnalysisComRespDto!= null&&  implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula() !=null && implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR")||implementProgressValueDownClacFormAnalysisComRespDto!= null&&  implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula() !=null && implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR_COPY")||implementProgressValueDownClacFormAnalysisComRespDto!= null&&  implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula() !=null && implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_KR")||implementProgressValueDownClacFormAnalysisComRespDto!= null&&  implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula() !=null && implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_KR_COPY")||implementProgressValueDownClacFormAnalysisComRespDto!= null&&  implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula() !=null && implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_ONLY_KR")||implementProgressValueDownClacFormAnalysisComRespDto!= null&&  implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula() !=null && implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_PROGRESS"))){
       //elseif((D4-进度值向下计算条件模型（公共）.进度值计算公式 等于 主树向下计算参照值不赋值（只有O） or D4-进度值向下计算条件模型（公共）.进度值计算公式 等于 主树向下计算参照值并赋值（只有O） or D4-进度值向下计算条件模型（公共）.进度值计算公式 等于 主树向下计算参照值不赋值（O加KR） or D4-进度值向下计算条件模型（公共）.进度值计算公式 等于 主树向下计算参照值并赋值（O加KR） or D4-进度值向下计算条件模型（公共）.进度值计算公式 等于 主树向下计算参照值并赋值（KR） or D4-进度值向下计算条件模型（公共）.进度值计算公式 等于 其他树非末级只向下计算进度值))  38549

ImplementProgressValueDownClacNewComRespDto implementProgressValueDownClacNewComRespDto = null;
    if(implementProgressValueDownClacFormAnalysisComRespDto !=null){
          ImplementProgressValueDownClacNewComReqDto implementProgressValueDownClacNewComReqDto=new ImplementProgressValueDownClacNewComReqDto();
    if(implementProgressValueDownClacFormAnalysisComRespDto !=null){
      implementProgressValueDownClacNewComReqDto.setProgressValueCalcFormula(implementProgressValueDownClacFormAnalysisComRespDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:1547111_1_61350
    }
if(reqDto!=null){
      implementProgressValueDownClacNewComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1547113_1_61350
implementProgressValueDownClacNewComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1547114_1_61350
implementProgressValueDownClacNewComReqDto.setIsOkrPlanScene(reqDto.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1547112_1_61350
implementProgressValueDownClacNewComReqDto.setCountProObWeight(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:1547115_1_61350
implementProgressValueDownClacNewComReqDto.setCountProKrWeight(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:1547116_1_61350
implementProgressValueDownClacNewComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1547117_1_61350
implementProgressValueDownClacNewComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1547118_1_61350
implementProgressValueDownClacNewComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1547119_1_61350
implementProgressValueDownClacNewComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1547121_1_61350
implementProgressValueDownClacNewComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1547122_1_61350
implementProgressValueDownClacNewComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1547123_1_61350
implementProgressValueDownClacNewComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1547124_1_61350
implementProgressValueDownClacNewComReqDto.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:1547128_1_61350
implementProgressValueDownClacNewComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:1547127_1_61350
implementProgressValueDownClacNewComReqDto.setLowIndicatorKindO(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:1547125_1_61350
implementProgressValueDownClacNewComReqDto.setLowIndicatorKindKr(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:1547126_1_61350
    }

    /*D4-执行进度值向下计算(公共)[8490]   */
    Assert.isNull(implementProgressValueDownClacNewComReqDto.getProgressValueCalcFormula(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-进度值计算公式不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getDecimalPointRules(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-小数点规则不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getIsOkrPlanScene(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-冗余开启OKR场景不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getCycleId(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-周期ID不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getIsWorkCycleData(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-是否工作周期数据不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getParentSubMidCycleType(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementProgressValueDownClacNewComReqDto.getEvaluationTemplateId(),"D4-执行进度值公式分析(公共)-D4-执行进度值向下计算(公共)-冗余评价模板ID不能为空",false);
      implementProgressValueDownClacNewComRespDto = implementProgressValueDownClacNewCom(implementProgressValueDownClacNewComReqDto)/*vcase invoke 同服务,同domain*/;

      
    
           }
    }
    }
ImplementProgressValueCalcFormulaAnalysisComRespDto retData = new ImplementProgressValueCalcFormulaAnalysisComRespDto();
  
  

  
  
return retData;
  }
/**
   * D4-执行分析下级数据(公共)[6413]
   * gen by moon at 6/15/2023, 5:22:29 PM
   */
  @Trace(operationName = "D4-执行分析下级数据(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAnalysisSubDataComRespDto implementAnalysisSubDataCom(ImplementAnalysisSubDataComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_5 =null;
//virtualUsage 初始化：0  38501
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setComNumField(Long.valueOf(0));//CUSTOM_CONVENTION//sourceId:873299_1_38501

    /*初始化：0[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getComNumField(),"D4-执行分析下级数据(公共)-初始化：0-通用数值字段（整数型）不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



//virtualUsage 初始化：1  38502
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setComNumField(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:873302_1_38502

    /*初始化：1[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getComNumField(),"D4-执行分析下级数据(公共)-初始化：1-通用数值字段（整数型）不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);



if((reqDto!= null&&  reqDto.getIsOpenSubReportLimit() !=null && reqDto.getIsOpenSubReportLimit().equals("TRUE"))) {
        //if(D4-执行分析下级数据(公共).是否开启下级汇报限制 等于 是)  38503

QueryPrepareForLowWeightAndDataListComRespDto queryPrepareForLowWeightAndDataListComRespDto = null;
    QueryPrepareForLowWeightAndDataListComReqDto queryPrepareForLowWeightAndDataListComReqDto=new QueryPrepareForLowWeightAndDataListComReqDto();
  if(reqDto!=null){
      queryPrepareForLowWeightAndDataListComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:873207_1_38505
queryPrepareForLowWeightAndDataListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:873208_1_38505
queryPrepareForLowWeightAndDataListComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042260_1_38505
queryPrepareForLowWeightAndDataListComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:873213_1_38505
queryPrepareForLowWeightAndDataListComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:873210_1_38505
queryPrepareForLowWeightAndDataListComReqDto.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:873212_1_38505
queryPrepareForLowWeightAndDataListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:873209_1_38505
    }

    /*D4-查下级标准数据及权重列表[5794]   */
    Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getEvaObjTargetCycleId(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-被评对象目标周期ID不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getCycleId(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-周期ID不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getParentSubMidCycleType(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-父子中周期类型不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getDataType(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-数据点类型不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getEvaluationTemplateId(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-冗余评价模板ID不能为空",false);
      queryPrepareForLowWeightAndDataListComRespDto = standardDataService.queryPrepareForLowWeightAndDataListCom(queryPrepareForLowWeightAndDataListComReqDto)/*vcase invoke isSameApp*/;



ImplementCountNumberDataSetsComRespDto implementCountNumberDataSetsComRespDto = null;
    if(queryPrepareForLowWeightAndDataListComRespDto !=null){
          ImplementCountNumberDataSetsComReqDto implementCountNumberDataSetsComReqDto=new ImplementCountNumberDataSetsComReqDto();
  if(queryPrepareForLowWeightAndDataListComRespDto!= null&&  queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList() !=null&& !CollectionUtil.isEmpty(queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList())){
      implementCountNumberDataSetsComReqDto.setCountNumberDataSetsList(//objList-to-objLists
        queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList().stream().map(item -> {
      CountNumberDataSetsDto elm = new CountNumberDataSetsDto();
      if(item!=null){
      elm.setCommPrimaryKey(item.getEntityId());//SimpleFieldAssign//sourceId:190419_2_38511
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:873363_1_38511
    }

    /*D2-执行统计数据集条数服务(公共)[5166]   */

      implementCountNumberDataSetsComRespDto = fwCompInterfaceModeClient.implementCountNumberDataSetsCom(implementCountNumberDataSetsComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
QuerySubordinateEvaObjTargetCycleWeightForCalcListComRespDto querySubordinateEvaObjTargetCycleWeightForCalcListComRespDto = null;
    QuerySubordinateEvaObjTargetCycleWeightForCalcListComReqDto querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto=new QuerySubordinateEvaObjTargetCycleWeightForCalcListComReqDto();
  querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:873366_1_38512
if(reqDto!=null){
      querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:873365_1_38512
querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:873369_1_38512
querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:873367_1_38512
    }

    /*D3-查下级目标周期权重列表[5888]   */
    Assert.isNull(querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto.getEvaObjTargetCycleId(),"D4-执行分析下级数据(公共)-D3-查下级目标周期权重列表-被评对象目标周期ID不能为空",false);
Assert.isNull(querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto.getEvaluationTemplateId(),"D4-执行分析下级数据(公共)-D3-查下级目标周期权重列表-冗余评价模板ID不能为空",false);
Assert.isNull(querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto.getSubjectLifeCycle(),"D4-执行分析下级数据(公共)-D3-查下级目标周期权重列表-主体生命周期不能为空",false);
      querySubordinateEvaObjTargetCycleWeightForCalcListComRespDto = fwAppTargetCycleClient.querySubordinateEvaObjTargetCycleWeightForCalcListCom(querySubordinateEvaObjTargetCycleWeightForCalcListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



ImplementCountNumberDataSetsComRespDto implementCountNumberDataSetsComRespDto_2 = null;
    if(querySubordinateEvaObjTargetCycleWeightForCalcListComRespDto !=null){
          ImplementCountNumberDataSetsComReqDto implementCountNumberDataSetsComReqDto_1=new ImplementCountNumberDataSetsComReqDto();
  if(querySubordinateEvaObjTargetCycleWeightForCalcListComRespDto!= null&&  querySubordinateEvaObjTargetCycleWeightForCalcListComRespDto.getEvaObjTargetCycleWeightList() !=null&& !CollectionUtil.isEmpty(querySubordinateEvaObjTargetCycleWeightForCalcListComRespDto.getEvaObjTargetCycleWeightList())){
      implementCountNumberDataSetsComReqDto_1.setCountNumberDataSetsList(//objList-to-objLists
        querySubordinateEvaObjTargetCycleWeightForCalcListComRespDto.getEvaObjTargetCycleWeightList().stream().map(item -> {
      CountNumberDataSetsDto elm = new CountNumberDataSetsDto();
      if(item!=null){
      elm.setCommPrimaryKey(item.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:190419_2_38513
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:873363_1_38513
    }

    /*D2-执行统计数据集条数服务(公共)[5166]   */

      implementCountNumberDataSetsComRespDto_2 = fwCompInterfaceModeClient.implementCountNumberDataSetsCom(implementCountNumberDataSetsComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;



           }
ImplementNumericalContrastMagnitudeComRespDto implementNumericalContrastMagnitudeComRespDto = null;
    if(implementCountNumberDataSetsComRespDto !=null&&implementCountNumberDataSetsComRespDto_2 !=null){
          ImplementNumericalContrastMagnitudeComReqDto implementNumericalContrastMagnitudeComReqDto=new ImplementNumericalContrastMagnitudeComReqDto();
  if(implementCountNumberDataSetsComRespDto!=null){
      implementNumericalContrastMagnitudeComReqDto.setCalcPara1(implementCountNumberDataSetsComRespDto.getOutputNum()!=null?Double.valueOf(implementCountNumberDataSetsComRespDto.getOutputNum()):null);//SimpleFieldAssign//sourceId:873370_1_38514
    }
if(implementCountNumberDataSetsComRespDto_2!=null){
      implementNumericalContrastMagnitudeComReqDto.setCalcPara2(implementCountNumberDataSetsComRespDto_2.getOutputNum()!=null?Double.valueOf(implementCountNumberDataSetsComRespDto_2.getOutputNum()):null);//SimpleFieldAssign//sourceId:873371_1_38514
    }

    /*D2执行两个数值对比大小(公共)[5551]   */
    Assert.isNull(implementNumericalContrastMagnitudeComReqDto.getCalcPara1(),"D4-执行分析下级数据(公共)-D2执行两个数值对比大小(公共)-计算入参1不能为空",false);
Assert.isNull(implementNumericalContrastMagnitudeComReqDto.getCalcPara2(),"D4-执行分析下级数据(公共)-D2执行两个数值对比大小(公共)-计算入参2不能为空",false);
      implementNumericalContrastMagnitudeComRespDto = fwCompInterfaceModeClient.implementNumericalContrastMagnitudeCom(implementNumericalContrastMagnitudeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
if((implementNumericalContrastMagnitudeComRespDto!= null&&  implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() !=null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("PRESENT"))) {
        //if(D2对比目标周期条数和标准数据条数是否相等.数值比较结果 等于 当前（等于）)  38515

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_2.setComNumField(receptionServiceRes_2.getComNumField());//SimpleFieldAssign//sourceId:873361_1_38516
    }

    /*约定出参：下级数据分析结果[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getComNumField(),"D4-执行分析下级数据(公共)-约定出参：下级数据分析结果-通用数值字段（整数型）不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_5 = receptionServiceRes_4;
      }
else if((implementNumericalContrastMagnitudeComRespDto!= null&&  implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() !=null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("BEFORE")||implementNumericalContrastMagnitudeComRespDto!= null&&  implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() !=null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("LATER"))){
       //elseif((D2对比目标周期条数和标准数据条数是否相等.数值比较结果 等于 之前（小于） or D2对比目标周期条数和标准数据条数是否相等.数值比较结果 等于 之后（大于）))  38517

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_6 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_3.setComNumField(receptionServiceRes.getComNumField());//SimpleFieldAssign//sourceId:873361_1_38518
    }

    /*约定出参：下级数据分析结果[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getComNumField(),"D4-执行分析下级数据(公共)-约定出参：下级数据分析结果-通用数值字段（整数型）不能为空",false);
      receptionServiceRes_6 = nbGridCalculate.addAcceptField(receptionServiceReq_3);


      receptionServiceRes_5 = receptionServiceRes_6;
    }
      }
else if((reqDto!= null&&  reqDto.getIsOpenSubReportLimit() !=null && reqDto.getIsOpenSubReportLimit().equals("FALSE"))){
       //elseif(D4-执行分析下级数据(公共).是否开启下级汇报限制 等于 否)  38504

QueryPrepareForLowWeightAndDataListComRespDto queryPrepareForLowWeightAndDataListComRespDto_2 = null;
    QueryPrepareForLowWeightAndDataListComReqDto queryPrepareForLowWeightAndDataListComReqDto_1=new QueryPrepareForLowWeightAndDataListComReqDto();
  if(reqDto!=null){
      queryPrepareForLowWeightAndDataListComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:873207_1_38506
queryPrepareForLowWeightAndDataListComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:873208_1_38506
queryPrepareForLowWeightAndDataListComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042260_1_38506
queryPrepareForLowWeightAndDataListComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:873213_1_38506
queryPrepareForLowWeightAndDataListComReqDto_1.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:873210_1_38506
queryPrepareForLowWeightAndDataListComReqDto_1.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:873212_1_38506
queryPrepareForLowWeightAndDataListComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:873209_1_38506
    }

    /*D4-查下级标准数据及权重列表[5794]   */
    Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto_1.getEvaObjTargetCycleId(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-被评对象目标周期ID不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto_1.getCycleId(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-周期ID不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto_1.getParentSubMidCycleType(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-父子中周期类型不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto_1.getDataType(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-数据点类型不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto_1.getEvaluationTemplateId(),"D4-执行分析下级数据(公共)-D4-查下级标准数据及权重列表-冗余评价模板ID不能为空",false);
      queryPrepareForLowWeightAndDataListComRespDto_2 = standardDataService.queryPrepareForLowWeightAndDataListCom(queryPrepareForLowWeightAndDataListComReqDto_1)/*vcase invoke isSameApp*/;



if((queryPrepareForLowWeightAndDataListComRespDto_2!= null&&  queryPrepareForLowWeightAndDataListComRespDto_2.getPrepareForLowWeightAndDataList() !=null && queryPrepareForLowWeightAndDataListComRespDto_2.getPrepareForLowWeightAndDataList().size()>0)) {
        //if(D4-查下级标准数据列表.下级权重及标准数据列表数据集条数 大于 0)  38507

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_7 = null;
    AddAcceptFieldReqDto receptionServiceReq_4=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_4.setComNumField(receptionServiceRes_2.getComNumField());//SimpleFieldAssign//sourceId:873361_1_38508
    }

    /*约定出参：下级数据分析结果[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getComNumField(),"D4-执行分析下级数据(公共)-约定出参：下级数据分析结果-通用数值字段（整数型）不能为空",false);
      receptionServiceRes_7 = nbGridCalculate.addAcceptField(receptionServiceReq_4);


      receptionServiceRes_5 = receptionServiceRes_7;
      }
else{
       //else  38509

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_8 = null;
    AddAcceptFieldReqDto receptionServiceReq_5=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_5.setComNumField(receptionServiceRes.getComNumField());//SimpleFieldAssign//sourceId:873361_1_38510
    }

    /*约定出参：下级数据分析结果[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getComNumField(),"D4-执行分析下级数据(公共)-约定出参：下级数据分析结果-通用数值字段（整数型）不能为空",false);
      receptionServiceRes_8 = nbGridCalculate.addAcceptField(receptionServiceReq_5);


      receptionServiceRes_5 = receptionServiceRes_8;
    }
    }
ImplementAnalysisSubDataComRespDto retData = new ImplementAnalysisSubDataComRespDto();
  if(receptionServiceRes_5!=null){
      retData.setComNumField(receptionServiceRes_5.getComNumField());//SimpleFieldAssign//sourceId:873373_1
    }




return retData;
  }
/**
   * D4-分析评价对象及个人OKR数据(公共)[6414]
   * gen by moon at 7/14/2023, 12:22:56 AM
   */
  @Trace(operationName = "D4-分析评价对象及个人OKR数据(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAnalysisEvaObjectAndOkrPerDataComRespDto implementAnalysisEvaObjectAndOkrPerDataCom(ImplementAnalysisEvaObjectAndOkrPerDataComReqDto reqDto){


      ImplementTreeEvaObjTargetCycleComRespDto implementTreeEvaObjTargetCycleComRespDto_1 =null;
      AddAcceptFieldRespDto receptionServiceRes_5 =null;
AddAcceptFieldRespDto receptionServiceRes_8 =null;
//virtualUsage 初始化：是TRUE  38561
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setTureOrFalse("TRUE");//sourceId:873773_1_38561

    /*初始化：是TRUE[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getTureOrFalse(),"D4-分析评价对象及个人OKR数据(公共)-初始化：是TRUE-是否不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



//virtualUsage 初始化：否FALSE  38562
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setTureOrFalse("FALSE");//sourceId:873770_1_38562

    /*初始化：否FALSE[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getTureOrFalse(),"D4-分析评价对象及个人OKR数据(公共)-初始化：否FALSE-是否不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);



//virtualUsage D3-3执行五棵树目标周期类型分析  38557
      ImplementTreeEvaObjTargetCycleComRespDto implementTreeEvaObjTargetCycleComRespDto = null;
    ImplementTreeEvaObjTargetCycleComReqDto implementTreeEvaObjTargetCycleComReqDto=new ImplementTreeEvaObjTargetCycleComReqDto();
  if(reqDto!=null){
      implementTreeEvaObjTargetCycleComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:873597_1_38557
implementTreeEvaObjTargetCycleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:873601_1_38557
    }

    /*D3-3执行五棵树目标周期类型分析[3185]   */
    Assert.isNull(implementTreeEvaObjTargetCycleComReqDto.getEvaObjTargetCycleId(),"D4-分析评价对象及个人OKR数据(公共)-D3-3执行五棵树目标周期类型分析-被评对象目标周期ID不能为空",false);
Assert.isNull(implementTreeEvaObjTargetCycleComReqDto.getEvaluationTemplateId(),"D4-分析评价对象及个人OKR数据(公共)-D3-3执行五棵树目标周期类型分析-冗余评价模板ID不能为空",false);
      implementTreeEvaObjTargetCycleComRespDto = fwAppTargetCycleClient.implementTreeEvaObjTargetCycleCom(implementTreeEvaObjTargetCycleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementTreeEvaObjTargetCycleComRespDto_1 = implementTreeEvaObjTargetCycleComRespDto;
//virtualUsage 4-01-01查标准数据详情  38558
      OmsStandardDataResult omsStandardDataResult = null;
    if(implementTreeEvaObjTargetCycleComRespDto !=null){
          QueryStandardDataDetailReq queryStandardDataDetailReq=new QueryStandardDataDetailReq();
  queryStandardDataDetailReq.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:873669_1_38558
queryStandardDataDetailReq.setIsNewData("TRUE");//sourceId:1086354_1_38558
queryStandardDataDetailReq.setIsUpdateCycleNewData("TRUE");//sourceId:1085155_1_38558
queryStandardDataDetailReq.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077367_1_38558
queryStandardDataDetailReq.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:873673_1_38558
if(reqDto!=null){
      queryStandardDataDetailReq.setPeriodId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:873678_1_38558
queryStandardDataDetailReq.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:873774_1_38558
queryStandardDataDetailReq.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:873668_1_38558
queryStandardDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:873674_1_38558
    }
if(implementTreeEvaObjTargetCycleComRespDto!=null){
      queryStandardDataDetailReq.setEntityId(implementTreeEvaObjTargetCycleComRespDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:873670_1_38558
    }

    /*4-01-01查标准数据详情[2696]   */
    Assert.isNull(queryStandardDataDetailReq.getPeriodId(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-周期ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getUpdateCycleId(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-更新周期ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getDataType(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-数据点类型不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getTableTypeCode(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-归属内容表类型编码不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getEntityId(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-归属内容表主键ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getIsNewData(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-是否归属周期最新数据不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getIsUpdateCycleNewData(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-是否更新周期最新数据不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getDataUsageSceneCode(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-数据业务场景不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentTypeCode(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-主题内容类型编码不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentId(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-主题内容ID不能为空",false);
      omsStandardDataResult = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;



           }
if((omsStandardDataResult != null )) {
        //if(4-01-01查标准数据详情（查评价对象树）.出参 值不等于空 )  38560

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    if(omsStandardDataResult !=null){
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_2.setTureOrFalse(receptionServiceRes.getTureOrFalse());//SimpleFieldAssign//sourceId:873865_1_38563
    }
if(omsStandardDataResult!=null){
      receptionServiceReq_2.setDataResultId(omsStandardDataResult.getDataResultId());//SimpleFieldAssign//sourceId:883687_1_38563
    }

    /*约定出参：评价对象树是否存在标准数据[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getTureOrFalse(),"D4-分析评价对象及个人OKR数据(公共)-约定出参：评价对象树是否存在标准数据-是否不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_5 = receptionServiceRes_4;
      }
      }
else if((omsStandardDataResult == null )){
       //elseif(4-01-01查标准数据详情（查评价对象树）.出参 值等于空 )  38564

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_6 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_3.setTureOrFalse(receptionServiceRes_2.getTureOrFalse());//SimpleFieldAssign//sourceId:873865_1_38565
    }

    /*约定出参：评价对象树是否存在标准数据[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getTureOrFalse(),"D4-分析评价对象及个人OKR数据(公共)-约定出参：评价对象树是否存在标准数据-是否不能为空",false);
      receptionServiceRes_6 = nbGridCalculate.addAcceptField(receptionServiceReq_3);


      receptionServiceRes_5 = receptionServiceRes_6;
    }
//virtualUsage 4-01-01查标准数据详情  38559
      OmsStandardDataResult omsStandardDataResult_2 = null;
    if(implementTreeEvaObjTargetCycleComRespDto !=null&&implementTreeEvaObjTargetCycleComRespDto!= null&&  implementTreeEvaObjTargetCycleComRespDto.getOkrPsEvaObjTargetCycleId() !=null){
          QueryStandardDataDetailReq queryStandardDataDetailReq_1=new QueryStandardDataDetailReq();
  queryStandardDataDetailReq_1.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:873669_1_38559
queryStandardDataDetailReq_1.setIsNewData("TRUE");//sourceId:1086354_1_38559
queryStandardDataDetailReq_1.setIsUpdateCycleNewData("TRUE");//sourceId:1085155_1_38559
queryStandardDataDetailReq_1.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077367_1_38559
queryStandardDataDetailReq_1.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:873673_1_38559
if(reqDto!=null){
      queryStandardDataDetailReq_1.setPeriodId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:873678_1_38559
queryStandardDataDetailReq_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:873774_1_38559
queryStandardDataDetailReq_1.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:873668_1_38559
queryStandardDataDetailReq_1.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:873674_1_38559
    }
if(implementTreeEvaObjTargetCycleComRespDto!=null){
      queryStandardDataDetailReq_1.setEntityId(implementTreeEvaObjTargetCycleComRespDto.getOkrPsEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:873670_1_38559
    }

    /*4-01-01查标准数据详情[2696]   */
    Assert.isNull(queryStandardDataDetailReq_1.getPeriodId(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-周期ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getUpdateCycleId(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-更新周期ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getDataType(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-数据点类型不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getTableTypeCode(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-归属内容表类型编码不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getEntityId(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-归属内容表主键ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getIsNewData(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-是否归属周期最新数据不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getIsUpdateCycleNewData(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-是否更新周期最新数据不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getDataUsageSceneCode(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-数据业务场景不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getThemeContentTypeCode(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-主题内容类型编码不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getThemeContentId(),"D4-分析评价对象及个人OKR数据(公共)-4-01-01查标准数据详情-主题内容ID不能为空",false);
      omsStandardDataResult_2 = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;



           }
if((omsStandardDataResult_2 != null )) {
        //if(4-01-01查标准数据详情（查OKR个人树）.出参 值不等于空 )  38566

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_7 = null;
    if(omsStandardDataResult_2 !=null){
    AddAcceptFieldReqDto receptionServiceReq_4=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_4.setTureOrFalse(receptionServiceRes.getTureOrFalse());//SimpleFieldAssign//sourceId:873868_1_38567
    }
if(omsStandardDataResult_2!=null){
      receptionServiceReq_4.setDataResultId(omsStandardDataResult_2.getDataResultId());//SimpleFieldAssign//sourceId:883689_1_38567
    }

    /*约定出参：OKR个人树是否存在标准数据[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getTureOrFalse(),"D4-分析评价对象及个人OKR数据(公共)-约定出参：OKR个人树是否存在标准数据-是否不能为空",false);
      receptionServiceRes_7 = nbGridCalculate.addAcceptField(receptionServiceReq_4);


      receptionServiceRes_8 = receptionServiceRes_7;
      }
      }
else if((omsStandardDataResult_2 == null )){
       //elseif(4-01-01查标准数据详情（查OKR个人树）.出参 值等于空 )  38568

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_9 = null;
    AddAcceptFieldReqDto receptionServiceReq_5=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_5.setTureOrFalse(receptionServiceRes_2.getTureOrFalse());//SimpleFieldAssign//sourceId:873868_1_38569
    }

    /*约定出参：OKR个人树是否存在标准数据[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getTureOrFalse(),"D4-分析评价对象及个人OKR数据(公共)-约定出参：OKR个人树是否存在标准数据-是否不能为空",false);
      receptionServiceRes_9 = nbGridCalculate.addAcceptField(receptionServiceReq_5);


      receptionServiceRes_8 = receptionServiceRes_9;
    }
ImplementAnalysisEvaObjectAndOkrPerDataComRespDto retData = new ImplementAnalysisEvaObjectAndOkrPerDataComRespDto();
  if(receptionServiceRes_5!=null){
      retData.setIsExistEvaObjectData(receptionServiceRes_5.getTureOrFalse());//SimpleFieldAssign//sourceId:873867_1
retData.setEvaObjectDataId(receptionServiceRes_5.getDataResultId());//SimpleFieldAssign//sourceId:883691_1
    }
if(implementTreeEvaObjTargetCycleComRespDto_1!=null){
      retData.setEvaObjTargetCycleId(implementTreeEvaObjTargetCycleComRespDto_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:988096_1
retData.setOkrPsEvaObjTargetCycleId(implementTreeEvaObjTargetCycleComRespDto_1.getOkrPsEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:988097_1
    }
if(receptionServiceRes_8!=null){
      retData.setIsExistOkrSubjectData(receptionServiceRes_8.getTureOrFalse());//SimpleFieldAssign//sourceId:873870_1
retData.setOkrSubjectDataId(receptionServiceRes_8.getDataResultId());//SimpleFieldAssign//sourceId:883692_1
    }




return retData;
  }
/**
   * D4-进度值人工汇报条件模型(公共)[6397]
   * gen by moon at 4/19/2024, 4:05:06 PM
   */
  @Trace(operationName = "D4-进度值人工汇报条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueManualFormAnalysisComRespDto implementProgressValueManualFormAnalysisCom(ImplementProgressValueManualFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("LAST_CYCLE")&&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT"))) {
        //if((D4-进度值人工汇报条件模型(公共).评价模板商业参数 等于 进度型 or D4-进度值人工汇报条件模型(公共).评价模板商业参数 等于 混合型) and (D4-进度值人工汇报条件模型(公共).标准数据计算周期模型 等于 末级周期 and D4-进度值人工汇报条件模型(公共).被评对象类型编码 等于 评价对象))  38361

if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))) {
        //if((D4-进度值人工汇报条件模型(公共).关联目标内容类型编码 等于 指标 and D4-进度值人工汇报条件模型(公共).是否末级指标 等于 是))  38377

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")&&reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("MANUAL_FILLING"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("TRUE"))) {
        //if((D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 进度型 and D4-进度值人工汇报条件模型(公共).计算数据来源 等于 人工填报) or (D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 主观定性 and D4-进度值人工汇报条件模型(公共).无实际值指标是否开启进度汇报 等于 是))  38379

      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setProgressValueCalcFormula("MANUAL_REPORT");//sourceId:871251_1_63925

    /*M4接收人工填报进度值[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getProgressValueCalcFormula(),"D4-进度值人工汇报条件模型(公共)-M4接收人工填报进度值-进度值计算公式不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
      }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE"))){
       //elseif((D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 数量增长型 or D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 数量降幅型 or D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 百分比增长型 or D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 百分比降幅型 or D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 比率增长型 or D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 比率降幅型))  63926

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setProgressValueCalcFormula("MANUAL_REPORT");//sourceId:871251_1_63927

    /*M4接收人工填报进度值[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getProgressValueCalcFormula(),"D4-进度值人工汇报条件模型(公共)-M4接收人工填报进度值-进度值计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
      }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")&&!(reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("MANUAL_FILLING")))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("FALSE"))){
       //elseif((D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 进度型 and D4-进度值人工汇报条件模型(公共).计算数据来源 不等于 人工填报) or (D4-进度值人工汇报条件模型(公共).冗余指标业务类型 等于 主观定性 and D4-进度值人工汇报条件模型(公共).无实际值指标是否开启进度汇报 等于 否))  64029

//processBranchName:正常结束 ,processBranchId:64032

      }
else{
       //else  64030

//异常结束 64031
      throw new BizException("C10100336","对不起，找不到人工填报进度值计算公式~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))){
       //elseif((D4-进度值人工汇报条件模型(公共).关联目标内容类型编码 等于 指标 and D4-进度值人工汇报条件模型(公共).是否末级指标 等于 否) or (D4-进度值人工汇报条件模型(公共).关联目标内容类型编码 等于 目标分类 or D4-进度值人工汇报条件模型(公共).关联目标内容类型编码 等于 目标))  38395

//processBranchName:正常结束 ,processBranchId:67092

      }
else{
       //else  67093

//异常结束 67094
        throw new BizException("C10100336","对不起，找不到人工填报进度值计算公式~",false);
    }
      }
ImplementProgressValueManualFormAnalysisComRespDto retData = new ImplementProgressValueManualFormAnalysisComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setProgressValueCalcFormula(receptionServiceRes_1.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:871261_1
    }




return retData;
  }
/**
   * D4-进度值向下计算条件模型（公共）[6398]
   * gen by moon at 6/30/2024, 10:40:10 PM
   */
  @Trace(operationName = "D4-进度值向下计算条件模型（公共）")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueDownClacFormAnalysisComRespDto implementProgressValueDownClacFormAnalysisCom(ImplementProgressValueDownClacFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_9 =null;
//virtualUsage 约定公式：向下计算不赋值  38495
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setCountProgressValueCalcFormula("DOWNWARD_CALCULATION_NOKR");//sourceId:870940_1_38495

    /*约定公式：向下计算不赋值[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCountProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定公式：向下计算不赋值-参照进度值计算公式不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



//virtualUsage 约定公式：向下计算赋值  38496
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setCountProgressValueCalcFormula("DOWNWARD_CALCULATION_NOKR_COPY");//sourceId:870942_1_38496

    /*约定公式：向下计算赋值[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getCountProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定公式：向下计算赋值-参照进度值计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);



//virtualUsage 约定公式：评价对象树向下只计算进度值  71150
      //ModelCode: receptionService
        ImplementCalcReceivingField002RespDto receptionServiceRes_4 = null;
    ImplementCalcReceivingField002ReqDto receptionServiceReq_2=new ImplementCalcReceivingField002ReqDto();
  receptionServiceReq_2.setEvaProgressCalcCode("EVA_DOWNWARD_CALCULATION_PROGRESS");//CUSTOM_CONVENTION//sourceId:1912177_1_71150

    /*约定公式：评价对象树向下只计算进度值[9536]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getEvaProgressCalcCode(),"D4-进度值向下计算条件模型（公共）-约定公式：评价对象树向下只计算进度值-主树进度值计算公式标识不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.implementCalcReceivingField002(receptionServiceReq_2);



//virtualUsage 约定公式：只向下计算进度值  38500
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_6 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  receptionServiceReq_3.setCountProgressValueCalcFormula("DOWNWARD_CALCULATION_PROGRESS");//sourceId:873165_1_38500

    /*约定公式：只向下计算进度值[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getCountProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定公式：只向下计算进度值-参照进度值计算公式不能为空",false);
      receptionServiceRes_6 = nbGridCalculate.addAcceptField(receptionServiceReq_3);



if((reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("LAST_CYCLE")&&reqDto!= null&& reqDto.getProgressValueCalcFormula() == null &&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))) {
        //if((D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 进度型 or D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 混合型) and (D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 末级周期 and D4-进度值向下计算条件模型（公共）.进度值计算公式 值等于空  and D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 指标 and D4-进度值向下计算条件模型（公共）.是否末级指标 等于 否))  38416

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE"))) {
        //if((D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 主观定性 and D4-进度值向下计算条件模型（公共）.无实际值指标是否开启进度汇报 等于 是) or (D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 数量增长型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 数量降幅型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 百分比增长型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 百分比降幅型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 进度型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 比率增长型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 比率降幅型))  38455

if((reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("AUTO_REPORT"))) {
        //if(D4-进度值向下计算条件模型（公共）.汇报类型 等于 全自动汇报)  38471

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")&&reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("SYSTEM_DOCKING"))) {
        //if((D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 进度型 and D4-进度值向下计算条件模型（公共）.计算数据来源 等于 系统对接))  67175

//processBranchName:正常结束 ,processBranchId:67176

      }
else{
       //else  67177

      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_8 = null;
    AddAcceptFieldReqDto receptionServiceReq_4=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_4.setProgressValueCalcFormula(receptionServiceRes_2.getCountProgressValueCalcFormula());//SimpleFieldAssign//sourceId:873514_1_67178
    }

    /*约定出参：参照进度值向下计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定出参：参照进度值向下计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_8 = nbGridCalculate.addAcceptField(receptionServiceReq_4);


      receptionServiceRes_9 = receptionServiceRes_8;
      }
      }
else if((reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("SEMIAUTOMATIC_REPORT")||reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("ARTIFICIAL_REPORT"))){
       //elseif((D4-进度值向下计算条件模型（公共）.汇报类型 等于 半自动汇报 or D4-进度值向下计算条件模型（公共）.汇报类型 等于 人工汇报))  38472

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")&&reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("SYSTEM_DOCKING"))) {
        //if((D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 进度型 and D4-进度值向下计算条件模型（公共）.计算数据来源 等于 系统对接))  67179

//processBranchName:正常结束 ,processBranchId:67182

      }
else{
       //else  67180

      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_10 = null;
    AddAcceptFieldReqDto receptionServiceReq_5=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_5.setProgressValueCalcFormula(receptionServiceRes.getCountProgressValueCalcFormula());//SimpleFieldAssign//sourceId:873514_1_67181
    }

    /*约定出参：参照进度值向下计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定出参：参照进度值向下计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_10 = nbGridCalculate.addAcceptField(receptionServiceReq_5);


      receptionServiceRes_9 = receptionServiceRes_10;
    }
    }
else{
       //else  64182

//异常结束 64183
      throw new BizException("C10100329","对不起，找不到进度值计算公式~",false);
    }
      }
      }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))&&(reqDto!= null&& reqDto.getProgressValueCalcFormula() == null &&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT"))&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("LAST_CYCLE"))){
       //elseif((D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 目标 or D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 目标分类) and (D4-进度值向下计算条件模型（公共）.进度值计算公式 值等于空  and D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象) and (D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 进度型 or D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 混合型) and D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 末级周期)  64178

      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_11 = null;
    AddAcceptFieldReqDto receptionServiceReq_6=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_6.setProgressValueCalcFormula(receptionServiceRes_2.getCountProgressValueCalcFormula());//SimpleFieldAssign//sourceId:873514_1_64179
    }

    /*约定出参：参照进度值向下计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_6.getProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定出参：参照进度值向下计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_11 = nbGridCalculate.addAcceptField(receptionServiceReq_6);


      receptionServiceRes_9 = receptionServiceRes_11;
      }
else if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT"))&&(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))&&(reqDto!= null&& reqDto.getProgressValueCalcFormula() == null )&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))){
       //elseif(D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 一级部门目标任务责任部门 and (D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 目标 or D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 目标分类) and D4-进度值向下计算条件模型（公共）.进度值计算公式 值等于空  and (D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 进度型 or D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 混合型))  64184

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_12 = null;
    AddAcceptFieldReqDto receptionServiceReq_7=new AddAcceptFieldReqDto();
  if(receptionServiceRes_6!=null){
      receptionServiceReq_7.setProgressValueCalcFormula(receptionServiceRes_6.getCountProgressValueCalcFormula());//SimpleFieldAssign//sourceId:873514_1_64185
    }

    /*约定出参：参照进度值向下计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_7.getProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定出参：参照进度值向下计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_12 = nbGridCalculate.addAcceptField(receptionServiceReq_7);


      receptionServiceRes_9 = receptionServiceRes_12;
           }
else if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))||(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE"))||(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("FALSE"))||(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("DOC_TYPE"))||(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("REACH_TYPE"))){
       //elseif((D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 指标 and D4-进度值向下计算条件模型（公共）.是否末级指标 等于 是) or (D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 一级部门目标任务责任部门 and D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 指标) or (D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 指标 and D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 主观定性 and D4-进度值向下计算条件模型（公共）.是否末级指标 等于 否 and D4-进度值向下计算条件模型（公共）.无实际值指标是否开启进度汇报 等于 否) or D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 资料型 or D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 达成度型)  64186

//processBranchName:正常结束 ,processBranchId:64187

      }
else if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("ARTIFICIAL_REPORT")||reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("SEMIAUTOMATIC_REPORT"))){
       //elseif((D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 指标) and (D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中间周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 子周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 父周期) and (D4-进度值向下计算条件模型（公共）.汇报类型 等于 人工汇报 or D4-进度值向下计算条件模型（公共）.汇报类型 等于 半自动汇报))  67124

//processBranchName:正常结束 ,processBranchId:67125

}
else if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("ARTIFICIAL_REPORT")||reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("SEMIAUTOMATIC_REPORT"))){
       //elseif((D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 目标分类) and (D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中间周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 子周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 父周期) and (D4-进度值向下计算条件模型（公共）.汇报类型 等于 人工汇报 or D4-进度值向下计算条件模型（公共）.汇报类型 等于 半自动汇报))  67129

//processBranchName:正常结束 ,processBranchId:67131

}
else if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("ARTIFICIAL_REPORT")||reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("SEMIAUTOMATIC_REPORT"))){
       //elseif((D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 目标) and (D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中间周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 子周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 父周期) and (D4-进度值向下计算条件模型（公共）.汇报类型 等于 人工汇报 or D4-进度值向下计算条件模型（公共）.汇报类型 等于 半自动汇报))  67132

//processBranchName:正常结束 ,processBranchId:67133

    }
else if((reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&& reqDto.getProgressValueCalcFormula() == null &&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("AUTO_REPORT"))){
       //elseif((D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 进度型 or D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 混合型) and (D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中间周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 子周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 父周期) and (D4-进度值向下计算条件模型（公共）.进度值计算公式 值等于空  and D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 指标 and D4-进度值向下计算条件模型（公共）.是否末级指标 等于 否) and D4-进度值向下计算条件模型（公共）.汇报类型 等于 全自动汇报)  70807

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")&&!(reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("SYSTEM_DOCKING")))) {
        //if((D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 主观定性 and D4-进度值向下计算条件模型（公共）.无实际值指标是否开启进度汇报 等于 是) or (D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 数量增长型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 数量降幅型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 百分比增长型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 百分比降幅型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 比率增长型 or D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 比率降幅型) or (D4-进度值向下计算条件模型（公共）.冗余指标业务类型 等于 进度型 and D4-进度值向下计算条件模型（公共）.计算数据来源 不等于 系统对接))  70810

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_13 = null;
    AddAcceptFieldReqDto receptionServiceReq_8=new AddAcceptFieldReqDto();
  if(receptionServiceRes_4!=null){
      receptionServiceReq_8.setProgressValueCalcFormula(receptionServiceRes_4.getEvaProgressCalcCode());//SimpleFieldAssign//sourceId:873514_1_70828
    }

    /*约定出参：参照进度值向下计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_8.getProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定出参：参照进度值向下计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_13 = nbGridCalculate.addAcceptField(receptionServiceReq_8);


      receptionServiceRes_9 = receptionServiceRes_13;
      }
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))&&(reqDto!= null&& reqDto.getProgressValueCalcFormula() == null &&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT"))&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("AUTO_REPORT"))){
       //elseif((D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 目标 or D4-进度值向下计算条件模型（公共）.关联目标内容类型编码 等于 目标分类) and (D4-进度值向下计算条件模型（公共）.进度值计算公式 值等于空  and D4-进度值向下计算条件模型（公共）.被评对象类型编码 等于 评价对象) and (D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 进度型 or D4-进度值向下计算条件模型（公共）.评价模板商业参数 等于 混合型) and (D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中间周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 子周期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 中期 or D4-进度值向下计算条件模型（公共）.标准数据计算周期模型 等于 父周期) and D4-进度值向下计算条件模型（公共）.汇报类型 等于 全自动汇报)  70808

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_14 = null;
    AddAcceptFieldReqDto receptionServiceReq_9=new AddAcceptFieldReqDto();
  if(receptionServiceRes_4!=null){
      receptionServiceReq_9.setProgressValueCalcFormula(receptionServiceRes_4.getEvaProgressCalcCode());//SimpleFieldAssign//sourceId:873514_1_70827
    }

    /*约定出参：参照进度值向下计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_9.getProgressValueCalcFormula(),"D4-进度值向下计算条件模型（公共）-约定出参：参照进度值向下计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_14 = nbGridCalculate.addAcceptField(receptionServiceReq_9);


      receptionServiceRes_9 = receptionServiceRes_14;
}
else{
       //else  63996

//异常结束 63997
      throw new BizException("C10100329","对不起，找不到进度值计算公式~",false);
    }
ImplementProgressValueDownClacFormAnalysisComRespDto retData = new ImplementProgressValueDownClacFormAnalysisComRespDto();
  if(receptionServiceRes_9!=null){
      retData.setProgressValueCalcFormula(receptionServiceRes_9.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:873516_1
    }




return retData;
  }
/**
   * D4-进度值克隆其他树条件模型(公共)[6399]
   * gen by moon at 4/19/2024, 10:43:01 PM
   */
  @Trace(operationName = "D4-进度值克隆其他树条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueCloneFormAnalysisComRespDto implementProgressValueCloneFormAnalysisCom(ImplementProgressValueCloneFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_3 =null;
//virtualUsage D4-进度值人工汇报条件模型(公共)  38458
      ImplementProgressValueManualFormAnalysisComRespDto implementProgressValueManualFormAnalysisComRespDto = null;
    ImplementProgressValueManualFormAnalysisComReqDto implementProgressValueManualFormAnalysisComReqDto=new ImplementProgressValueManualFormAnalysisComReqDto();
  if(reqDto!=null){
      implementProgressValueManualFormAnalysisComReqDto.setSchemeDataPara(reqDto.getSchemeDataPara());//SimpleFieldAssign//sourceId:872747_1_38458
implementProgressValueManualFormAnalysisComReqDto.setReportType(reqDto.getReportType());//SimpleFieldAssign//sourceId:872749_1_38458
implementProgressValueManualFormAnalysisComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:872748_1_38458
implementProgressValueManualFormAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:872743_1_38458
implementProgressValueManualFormAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:872744_1_38458
implementProgressValueManualFormAnalysisComReqDto.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:872742_1_38458
implementProgressValueManualFormAnalysisComReqDto.setCalculateDataSource(reqDto.getCalculateDataSource());//SimpleFieldAssign//sourceId:872745_1_38458
implementProgressValueManualFormAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:872752_1_38458
implementProgressValueManualFormAnalysisComReqDto.setNoPracticalValueObjIsProgReport(reqDto.getNoPracticalValueObjIsProgReport());//SimpleFieldAssign//sourceId:1167812_1_38458
    }

    /*D4-进度值人工汇报条件模型(公共)[6397]   */
    Assert.isNull(implementProgressValueManualFormAnalysisComReqDto.getSchemeDataPara(),"D4-进度值克隆其他树条件模型(公共)-D4-进度值人工汇报条件模型(公共)-评价模板商业参数不能为空",false);
Assert.isNull(implementProgressValueManualFormAnalysisComReqDto.getReportType(),"D4-进度值克隆其他树条件模型(公共)-D4-进度值人工汇报条件模型(公共)-汇报类型不能为空",false);
Assert.isNull(implementProgressValueManualFormAnalysisComReqDto.getEvaObjTypeCode(),"D4-进度值克隆其他树条件模型(公共)-D4-进度值人工汇报条件模型(公共)-被评对象类型编码不能为空",false);
Assert.isNull(implementProgressValueManualFormAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-进度值克隆其他树条件模型(公共)-D4-进度值人工汇报条件模型(公共)-关联目标内容类型编码不能为空",false);
      implementProgressValueManualFormAnalysisComRespDto = implementProgressValueManualFormAnalysisCom(implementProgressValueManualFormAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;



if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&implementProgressValueManualFormAnalysisComRespDto!= null&& implementProgressValueManualFormAnalysisComRespDto.getProgressValueCalcFormula() == null )&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(!(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")))) {
        //if((D4-进度值克隆其他树条件模型(公共).被评对象类型编码 等于 一级部门目标任务责任部门 and D4-进度值克隆其他树条件模型(公共).关联目标内容类型编码 等于 指标 and D4-进度值人工汇报条件模型.进度值计算公式 值等于空 ) and (D4-进度值克隆其他树条件模型(公共).评价模板商业参数 等于 进度型 or D4-进度值克隆其他树条件模型(公共).评价模板商业参数 等于 混合型) and D4-进度值克隆其他树条件模型(公共).冗余指标业务类型 不等于 主观定性)  38401

      //ModelCode: receptionService
        ImplementNineReceivingFieldRespDto receptionServiceRes = null;
    ImplementNineReceivingFieldReqDto receptionServiceReq=new ImplementNineReceivingFieldReqDto();
  receptionServiceReq.setCustomField1("CLONE_EVA_OBJECT");//CUSTOM_CONVENTION//sourceId:1732544_1_66907

    /*M4约定进度值计算公式：其他树进度值克隆主树[8708]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCustomField1(),"D4-进度值克隆其他树条件模型(公共)-M4约定进度值计算公式：其他树进度值克隆主树-自定义字段1不能为空",false);
      receptionServiceRes = nbGridCalculate.implementNineReceivingField(receptionServiceReq);



//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_1.setProgressValueCalcFormula(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:871266_1_64175
    }

    /*约定出参：进度值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getProgressValueCalcFormula(),"D4-进度值克隆其他树条件模型(公共)-约定出参：进度值计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_3 = receptionServiceRes_2;
      }
else if((implementProgressValueManualFormAnalysisComRespDto!= null&& implementProgressValueManualFormAnalysisComRespDto.getProgressValueCalcFormula() != null &&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT"))&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))){
       //elseif((D4-进度值人工汇报条件模型.进度值计算公式 值不等于空  and D4-进度值克隆其他树条件模型(公共).被评对象类型编码 等于 评价对象) and (D4-进度值克隆其他树条件模型(公共).评价模板商业参数 等于 进度型 or D4-进度值克隆其他树条件模型(公共).评价模板商业参数 等于 混合型))  63981

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    if(implementProgressValueManualFormAnalysisComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(implementProgressValueManualFormAnalysisComRespDto!=null){
      receptionServiceReq_2.setProgressValueCalcFormula(implementProgressValueManualFormAnalysisComRespDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:871266_1_63982
    }

    /*约定出参：进度值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getProgressValueCalcFormula(),"D4-进度值克隆其他树条件模型(公共)-约定出参：进度值计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_3 = receptionServiceRes_4;
    }
    }
else if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("TRUE")&&implementProgressValueManualFormAnalysisComRespDto!= null&& implementProgressValueManualFormAnalysisComRespDto.getProgressValueCalcFormula() == null )&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))){
       //elseif((D4-进度值克隆其他树条件模型(公共).被评对象类型编码 等于 一级部门目标任务责任部门 and D4-进度值克隆其他树条件模型(公共).关联目标内容类型编码 等于 指标 and D4-进度值克隆其他树条件模型(公共).冗余指标业务类型 等于 主观定性 and D4-进度值克隆其他树条件模型(公共).无实际值指标是否开启进度汇报 等于 是 and D4-进度值人工汇报条件模型.进度值计算公式 值等于空 ) and (D4-进度值克隆其他树条件模型(公共).评价模板商业参数 等于 进度型 or D4-进度值克隆其他树条件模型(公共).评价模板商业参数 等于 混合型))  67049

    //ModelCode: receptionService
        ImplementNineReceivingFieldRespDto receptionServiceRes_5 = null;
    ImplementNineReceivingFieldReqDto receptionServiceReq_3=new ImplementNineReceivingFieldReqDto();
  receptionServiceReq_3.setCustomField1("CLONE_EVA_OBJECT");//CUSTOM_CONVENTION//sourceId:1732544_1_67050

    /*M4约定进度值计算公式：其他树进度值克隆主树[8708]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getCustomField1(),"D4-进度值克隆其他树条件模型(公共)-M4约定进度值计算公式：其他树进度值克隆主树-自定义字段1不能为空",false);
      receptionServiceRes_5 = nbGridCalculate.implementNineReceivingField(receptionServiceReq_3);



//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_6 = null;
    AddAcceptFieldReqDto receptionServiceReq_4=new AddAcceptFieldReqDto();
  if(receptionServiceRes_5!=null){
      receptionServiceReq_4.setProgressValueCalcFormula(receptionServiceRes_5.getCustomField1());//SimpleFieldAssign//sourceId:871266_1_67051
    }

    /*约定出参：进度值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getProgressValueCalcFormula(),"D4-进度值克隆其他树条件模型(公共)-约定出参：进度值计算公式-进度值计算公式不能为空",false);
      receptionServiceRes_6 = nbGridCalculate.addAcceptField(receptionServiceReq_4);


      receptionServiceRes_3 = receptionServiceRes_6;
}


ImplementProgressValueCloneFormAnalysisComRespDto retData = new ImplementProgressValueCloneFormAnalysisComRespDto();
  if(receptionServiceRes_3!=null){
      retData.setProgressValueCalcFormula(receptionServiceRes_3.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:871643_1
    }




return retData;
  }
/**
   * D4-进度值向左计算条件模型（公共）[6400]
   * gen by moon at 6/25/2024, 1:11:46 AM
   */
  @Trace(operationName = "D4-进度值向左计算条件模型（公共）")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueRightClacFormAnalysisComRespDto implementProgressValueRightClacFormAnalysisCom(ImplementProgressValueRightClacFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&& reqDto.getProgressValueCalcFormula() == null )&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("ARTIFICIAL_REPORT")||reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("SEMIAUTOMATIC_REPORT"))) {
        //if((D4-进度值向左计算条件模型（公共）.评价模板商业参数 等于 进度型 or D4-进度值向左计算条件模型（公共）.评价模板商业参数 等于 混合型) and (D4-进度值向左计算条件模型（公共）.标准数据计算周期模型 等于 中间周期 or D4-进度值向左计算条件模型（公共）.标准数据计算周期模型 等于 子周期 or D4-进度值向左计算条件模型（公共）.标准数据计算周期模型 等于 中期 or D4-进度值向左计算条件模型（公共）.标准数据计算周期模型 等于 父周期) and (D4-进度值向左计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向左计算条件模型（公共）.进度值计算公式 值等于空 ) and (D4-进度值向左计算条件模型（公共）.汇报类型 等于 人工汇报 or D4-进度值向左计算条件模型（公共）.汇报类型 等于 半自动汇报))  38410

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))) {
        //if((D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 主观定性 and D4-进度值向左计算条件模型（公共）.无实际值指标是否开启进度汇报 等于 是) or (D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 数量增长型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 数量降幅型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 百分比增长型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 百分比降幅型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 进度型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 比率增长型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 比率降幅型 or D4-进度值向左计算条件模型（公共）.关联目标内容类型编码 等于 目标分类 or D4-进度值向左计算条件模型（公共）.关联目标内容类型编码 等于 目标))  49717

      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setProgressValueCalcFormula("RIGHTWARD_CALCULATION");//sourceId:871709_1_63944

    /*约定出参：进度值是否向右计算[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getProgressValueCalcFormula(),"D4-进度值向左计算条件模型（公共）-约定出参：进度值是否向右计算-进度值计算公式不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
      }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("FALSE"))){
       //elseif((D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 主观定性 and D4-进度值向左计算条件模型（公共）.无实际值指标是否开启进度汇报 等于 否))  63988

//processBranchName:正常结束 ,processBranchId:63991

    }
else{
       //else  63989

//异常结束 63990
      throw new BizException("C10100328","对不起，进度值向左计算公式错误（人工汇报或半自动汇报）~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&& reqDto.getProgressValueCalcFormula() == null )&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("AUTO_REPORT"))){
       //elseif((D4-进度值向左计算条件模型（公共）.评价模板商业参数 等于 进度型 or D4-进度值向左计算条件模型（公共）.评价模板商业参数 等于 混合型) and (D4-进度值向左计算条件模型（公共）.标准数据计算周期模型 等于 中间周期 or D4-进度值向左计算条件模型（公共）.标准数据计算周期模型 等于 子周期 or D4-进度值向左计算条件模型（公共）.标准数据计算周期模型 等于 中期 or D4-进度值向左计算条件模型（公共）.标准数据计算周期模型 等于 父周期) and (D4-进度值向左计算条件模型（公共）.被评对象类型编码 等于 评价对象 and D4-进度值向左计算条件模型（公共）.进度值计算公式 值不等于空 ) and D4-进度值向左计算条件模型（公共）.汇报类型 等于 全自动汇报)  70779

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("TRUE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))) {
        //if((D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 主观定性 and D4-进度值向左计算条件模型（公共）.无实际值指标是否开启进度汇报 等于 是 and D4-进度值向左计算条件模型（公共）.是否末级指标 等于 是))  70781

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setProgressValueCalcFormula("RIGHTWARD_CALCULATION");//sourceId:871709_1_70785

    /*约定出参：进度值是否向右计算[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getProgressValueCalcFormula(),"D4-进度值向左计算条件模型（公共）-约定出参：进度值是否向右计算-进度值计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
      }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE") || reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS"))
        &&(reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))){
       //elseif((D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 数量增长型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 数量降幅型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 百分比增长型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 百分比降幅型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 比率增长型 or D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 比率降幅型) and (D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 进度型 and D4-进度值向左计算条件模型（公共）.是否末级指标 等于 是))  70782

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_3 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  receptionServiceReq_2.setProgressValueCalcFormula("RIGHTWARD_CALCULATION");//sourceId:871709_1_70786

    /*约定出参：进度值是否向右计算[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getProgressValueCalcFormula(),"D4-进度值向左计算条件模型（公共）-约定出参：进度值是否向右计算-进度值计算公式不能为空",false);
      receptionServiceRes_3 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE")&&reqDto!= null&&  reqDto.getNoPracticalValueObjIsProgReport() !=null && reqDto.getNoPracticalValueObjIsProgReport().equals("FALSE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))){
       //elseif(D4-进度值向左计算条件模型（公共）.关联目标内容类型编码 等于 目标 or D4-进度值向左计算条件模型（公共）.关联目标内容类型编码 等于 目标分类 or (D4-进度值向左计算条件模型（公共）.关联目标内容类型编码 等于 指标 and D4-进度值向左计算条件模型（公共）.是否末级指标 等于 否) or (D4-进度值向左计算条件模型（公共）.冗余指标业务类型 等于 主观定性 and D4-进度值向左计算条件模型（公共）.无实际值指标是否开启进度汇报 等于 否 and D4-进度值向左计算条件模型（公共）.是否末级指标 等于 是))  70783

//processBranchName:正常结束 ,processBranchId:70784

    }
else{
       //else  70787

//异常结束 70788
      throw new BizException("C10100464","对不起，进度值向左计算公式错误（全自动汇报）~",false);
    }
      }
ImplementProgressValueRightClacFormAnalysisComRespDto retData = new ImplementProgressValueRightClacFormAnalysisComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setProgressValueCalcFormula(receptionServiceRes_1.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:871717_1
    }




return retData;
  }
/**
   * D4-实际值人工汇报条件模型(公共)[6416]
   * gen by moon at 4/18/2024, 6:30:55 PM
   */
  @Trace(operationName = "D4-实际值人工汇报条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueManualFormAnalysisComRespDto implementActualValueManualFormAnalysisCom(ImplementActualValueManualFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&!(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE"))&&reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("LAST_CYCLE")&&reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("MANUAL_FILLING")&&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&& reqDto.getActualValueCalcFormula() == null )) {
        //if((D4-实际值人工汇报条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值人工汇报条件模型(公共).冗余指标业务类型 不等于 主观定性 and D4-实际值人工汇报条件模型(公共).标准数据计算周期模型 等于 末级周期 and D4-实际值人工汇报条件模型(公共).计算数据来源 等于 人工填报 and D4-实际值人工汇报条件模型(公共).被评对象类型编码 等于 评价对象 and D4-实际值人工汇报条件模型(公共).实际值计算公式 值等于空 ))  38592

if((reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE")&&!(reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE")))) {
        //if((D4-实际值人工汇报条件模型(公共).是否末级指标 等于 是 and D4-实际值人工汇报条件模型(公共).数量型指标当无实际值标记 不等于 是))  38594

      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setActualValueCalcFormula("MANUAL_REPORT");//sourceId:874815_1_63964

    /*约定出参：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getActualValueCalcFormula(),"D4-实际值人工汇报条件模型(公共)-约定出参：实际值计算公式-实际值计算公式不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
      }
else if((reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))&&(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE"))){
       //elseif(D4-实际值人工汇报条件模型(公共).是否末级指标 等于 否 and (D4-实际值人工汇报条件模型(公共).冗余指标业务类型 等于 百分比增长型 or D4-实际值人工汇报条件模型(公共).冗余指标业务类型 等于 百分比降幅型 or D4-实际值人工汇报条件模型(公共).冗余指标业务类型 等于 比率增长型 or D4-实际值人工汇报条件模型(公共).冗余指标业务类型 等于 比率降幅型))  38614

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setActualValueCalcFormula("MANUAL_REPORT");//sourceId:874815_1_64008

    /*约定出参：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getActualValueCalcFormula(),"D4-实际值人工汇报条件模型(公共)-约定出参：实际值计算公式-实际值计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
      }
else if((reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))&&(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS"))){
       //elseif(D4-实际值人工汇报条件模型(公共).是否末级指标 等于 否 and (D4-实际值人工汇报条件模型(公共).冗余指标业务类型 等于 数量增长型 or D4-实际值人工汇报条件模型(公共).冗余指标业务类型 等于 数量降幅型 or D4-实际值人工汇报条件模型(公共).冗余指标业务类型 等于 进度型))  64009

//processBranchName:正常结束 ,processBranchId:64014

    }
else if((reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))){
       //elseif((D4-实际值人工汇报条件模型(公共).是否末级指标 等于 是 and D4-实际值人工汇报条件模型(公共).数量型指标当无实际值标记 等于 是))  64010

//异常结束 67058
      throw new BizException("C221000379","对不起，末级指标的数量型当无实际值标记为是错误（实际值人工填报计算公式）~",false);
      }
else{
       //else  67056

//异常结束 64012
      throw new BizException("C10100332","对不起，找不到人工填报实际值计算公式~",false);
    }
      }
ImplementActualValueManualFormAnalysisComRespDto retData = new ImplementActualValueManualFormAnalysisComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setActualValueCalcFormula(receptionServiceRes_1.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:875086_1
    }




return retData;
  }
/**
   * D4-实际值克隆其他树条件模型(公共)[6402]
   * gen by moon at 4/18/2024, 6:30:21 PM
   */
  @Trace(operationName = "D4-实际值克隆其他树条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueCloneFormAnalysisComRespDto implementActualValueCloneFormAnalysisCom(ImplementActualValueCloneFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_3 =null;
//virtualUsage D4-实际值人工汇报条件模型(公共)  38621
      ImplementActualValueManualFormAnalysisComRespDto implementActualValueManualFormAnalysisComRespDto = null;
    ImplementActualValueManualFormAnalysisComReqDto implementActualValueManualFormAnalysisComReqDto=new ImplementActualValueManualFormAnalysisComReqDto();
  if(reqDto!=null){
      implementActualValueManualFormAnalysisComReqDto.setActualValueCalcFormula(reqDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:1628232_1_38621
implementActualValueManualFormAnalysisComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:875119_1_38621
implementActualValueManualFormAnalysisComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:875120_1_38621
implementActualValueManualFormAnalysisComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:875121_1_38621
implementActualValueManualFormAnalysisComReqDto.setQuantityObjectiveNoValue(reqDto.getQuantityObjectiveNoValue());//SimpleFieldAssign//sourceId:875122_1_38621
implementActualValueManualFormAnalysisComReqDto.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:875123_1_38621
implementActualValueManualFormAnalysisComReqDto.setCalculateDataSource(reqDto.getCalculateDataSource());//SimpleFieldAssign//sourceId:875125_1_38621
implementActualValueManualFormAnalysisComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:875126_1_38621
    }

    /*D4-实际值人工汇报条件模型(公共)[6416]   */
Assert.isNull(implementActualValueManualFormAnalysisComReqDto.getEvaObjTypeCode(),"D4-实际值克隆其他树条件模型(公共)-D4-实际值人工汇报条件模型(公共)-被评对象类型编码不能为空",false);
Assert.isNull(implementActualValueManualFormAnalysisComReqDto.getTargetCycleContentTypeCode(),"D4-实际值克隆其他树条件模型(公共)-D4-实际值人工汇报条件模型(公共)-关联目标内容类型编码不能为空",false);
Assert.isNull(implementActualValueManualFormAnalysisComReqDto.getStandardDataCalcCycleModel(),"D4-实际值克隆其他树条件模型(公共)-D4-实际值人工汇报条件模型(公共)-标准数据计算周期模型不能为空",false);
      implementActualValueManualFormAnalysisComRespDto = implementActualValueManualFormAnalysisCom(implementActualValueManualFormAnalysisComReqDto)/*vcase invoke 同服务,同domain*/;



if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT")&&!(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE"))&&!(reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&implementActualValueManualFormAnalysisComRespDto!= null&& implementActualValueManualFormAnalysisComRespDto.getActualValueCalcFormula() == null )) {
        //if((D4-实际值克隆其他树条件模型(公共).被评对象类型编码 等于 一级部门目标任务责任部门 and D4-实际值克隆其他树条件模型(公共).冗余指标业务类型 不等于 主观定性 and D4-实际值克隆其他树条件模型(公共).数量型指标当无实际值标记 不等于 是 and D4-实际值克隆其他树条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值人工汇报条件模型.实际值计算公式 值等于空 ))  38624

//ModelCode: receptionService
        ImplementNineReceivingFieldRespDto receptionServiceRes = null;
    ImplementNineReceivingFieldReqDto receptionServiceReq=new ImplementNineReceivingFieldReqDto();
  receptionServiceReq.setCustomField1("CLONE_EVA_OBJECT");//CUSTOM_CONVENTION//sourceId:1732742_1_66912

    /*M4约定实际值计算公式：当前树实际值克隆主树[8708]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCustomField1(),"D4-实际值克隆其他树条件模型(公共)-M4约定实际值计算公式：当前树实际值克隆主树-自定义字段1不能为空",false);
      receptionServiceRes = nbGridCalculate.implementNineReceivingField(receptionServiceReq);



//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_1.setActualValueCalcFormula(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:875082_1_64188
    }

    /*约定出参：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getActualValueCalcFormula(),"D4-实际值克隆其他树条件模型(公共)-约定出参：实际值计算公式-实际值计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_3 = receptionServiceRes_2;
      }
else if((implementActualValueManualFormAnalysisComRespDto!= null&& implementActualValueManualFormAnalysisComRespDto.getActualValueCalcFormula() != null )){
       //elseif(D4-实际值人工汇报条件模型.实际值计算公式 值不等于空 )  63979

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    if(implementActualValueManualFormAnalysisComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(implementActualValueManualFormAnalysisComRespDto!=null){
      receptionServiceReq_2.setActualValueCalcFormula(implementActualValueManualFormAnalysisComRespDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:875082_1_63980
    }

    /*约定出参：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getActualValueCalcFormula(),"D4-实际值克隆其他树条件模型(公共)-约定出参：实际值计算公式-实际值计算公式不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_3 = receptionServiceRes_4;
    }
      }
ImplementActualValueCloneFormAnalysisComRespDto retData = new ImplementActualValueCloneFormAnalysisComRespDto();
  if(receptionServiceRes_3!=null){
      retData.setActualValueCalcFormula(receptionServiceRes_3.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:875127_1
    }




return retData;
  }
/**
   * D4-实际值向下计算条件模型(公共)[6404]
   * gen by moon at 6/30/2024, 10:15:35 PM
   */
  @Trace(operationName = "D4-实际值向下计算条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueDownClacFormAnalysisComRespDto implementActualValueDownClacFormAnalysisCom(ImplementActualValueDownClacFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_13 =null;
//virtualUsage 约定公式：向下计算并赋值（求和）  38652
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setCountActualValueCalcFormula("DOWNWARD_CALCULATION_SUM_COPY");//sourceId:875565_1_38652

    /*约定公式：向下计算并赋值（求和）[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



//virtualUsage 约定公式：向下计算不赋值（求和）  38653
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setCountActualValueCalcFormula("DOWNWARD_CALCULATION_SUM");//sourceId:875566_1_38653

    /*约定公式：向下计算不赋值（求和）[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定公式：向下计算不赋值（求和）-参照实际值计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);



//virtualUsage 约定公式：向下计算并赋值（权重求和）  38654
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  receptionServiceReq_2.setCountActualValueCalcFormula("DOWNWARD_CALCULATION_WEIGHT_COPY");//sourceId:875664_1_38654

    /*约定公式：向下计算并赋值（权重求和）[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定公式：向下计算并赋值（权重求和）-参照实际值计算公式不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);



//virtualUsage 约定公式：向下计算不赋值（权重求和）  38655
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_6 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  receptionServiceReq_3.setCountActualValueCalcFormula("DOWNWARD_CALCULATION_WEIGHT");//sourceId:875667_1_38655

    /*约定公式：向下计算不赋值（权重求和）[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定公式：向下计算不赋值（权重求和）-参照实际值计算公式不能为空",false);
      receptionServiceRes_6 = nbGridCalculate.addAcceptField(receptionServiceReq_3);



//virtualUsage 约定公式：向下只计算实际值（求和）  71151
      //ModelCode: receptionService
        ImplementCalcReceivingField002RespDto receptionServiceRes_8 = null;
    ImplementCalcReceivingField002ReqDto receptionServiceReq_4=new ImplementCalcReceivingField002ReqDto();
  receptionServiceReq_4.setEvaActualCalcCode("EVA_DOWNWARD_CALCULATION_SUM");//CUSTOM_CONVENTION//sourceId:1912315_1_71151

    /*约定公式：向下只计算实际值（求和）[9536]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getEvaActualCalcCode(),"D4-实际值向下计算条件模型(公共)-约定公式：向下只计算实际值（求和）-主树实际值计算公式标识不能为空",false);
      receptionServiceRes_8 = nbGridCalculate.implementCalcReceivingField002(receptionServiceReq_4);



//virtualUsage 约定公式：向下只计算实际值（权重求和）  71152
      //ModelCode: receptionService
        ImplementCalcReceivingField002RespDto receptionServiceRes_10 = null;
    ImplementCalcReceivingField002ReqDto receptionServiceReq_5=new ImplementCalcReceivingField002ReqDto();
  receptionServiceReq_5.setEvaActualCalcCode("EVA_DOWNWARD_CALCULATION_WEIGHT");//CUSTOM_CONVENTION//sourceId:1912317_1_71152

    /*约定公式：向下只计算实际值（权重求和）[9536]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getEvaActualCalcCode(),"D4-实际值向下计算条件模型(公共)-约定公式：向下只计算实际值（权重求和）-主树实际值计算公式标识不能为空",false);
      receptionServiceRes_10 = nbGridCalculate.implementCalcReceivingField002(receptionServiceReq_5);



if((reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("LAST_CYCLE")&&reqDto!= null&& reqDto.getActualValueCalcFormula() == null )) {
        //if((D4-实际值向下计算条件模型(公共).标准数据计算周期模型 等于 末级周期 and D4-实际值向下计算条件模型(公共).实际值计算公式 值等于空 ))  38656

if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE")&&reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("MANUAL_FILLING"))) {
        //if((D4-实际值向下计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值向下计算条件模型(公共).是否末级指标 等于 否 and D4-实际值向下计算条件模型(公共).计算数据来源 等于 人工填报))  38658

if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT"))) {
        //if(D4-实际值向下计算条件模型(公共).被评对象类型编码 等于 评价对象)  38662

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE"))&&(reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("FALSE")||reqDto!= null&& reqDto.getQuantityObjectiveNoValue() == null )) {
        //if((D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 数量增长型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 数量降幅型) and (D4-实际值向下计算条件模型(公共).数量型指标当无实际值标记 等于 否 or D4-实际值向下计算条件模型(公共).数量型指标当无实际值标记 值等于空 ))  38668

if((reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("AUTO_REPORT"))) {
        //if(D4-实际值向下计算条件模型(公共).汇报类型 等于 全自动汇报)  38674

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_12 = null;
    AddAcceptFieldReqDto receptionServiceReq_6=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_6.setCountActualValueCalcFormula(receptionServiceRes.getCountActualValueCalcFormula());//SimpleFieldAssign//sourceId:876262_1_38677
    }

    /*约定出参：参照实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_6.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定出参：参照实际值计算公式-参照实际值计算公式不能为空",false);
      receptionServiceRes_12 = nbGridCalculate.addAcceptField(receptionServiceReq_6);


      receptionServiceRes_13 = receptionServiceRes_12;
      }
else if((reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("ARTIFICIAL_REPORT")||reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("SEMIAUTOMATIC_REPORT"))){
       //elseif((D4-实际值向下计算条件模型(公共).汇报类型 等于 人工汇报 or D4-实际值向下计算条件模型(公共).汇报类型 等于 半自动汇报))  38676

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_14 = null;
    AddAcceptFieldReqDto receptionServiceReq_7=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_7.setCountActualValueCalcFormula(receptionServiceRes_2.getCountActualValueCalcFormula());//SimpleFieldAssign//sourceId:876262_1_38678
    }

    /*约定出参：参照实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_7.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定出参：参照实际值计算公式-参照实际值计算公式不能为空",false);
      receptionServiceRes_14 = nbGridCalculate.addAcceptField(receptionServiceReq_7);


      receptionServiceRes_13 = receptionServiceRes_14;
    }
else{
       //else  64002

//异常结束 64003
      throw new BizException("C10100337","对不起，找不到数量型指标实际值计算公式~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS"))){
       //elseif(D4-参照实际值计算条件模型(公共).冗余指标业务类型 等于 进度型)  38683

if((reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("AUTO_REPORT"))) {
        //if(D4-实际值向下计算条件模型(公共).汇报类型 等于 全自动汇报)  38685

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_15 = null;
    AddAcceptFieldReqDto receptionServiceReq_8=new AddAcceptFieldReqDto();
  if(receptionServiceRes_4!=null){
      receptionServiceReq_8.setCountActualValueCalcFormula(receptionServiceRes_4.getCountActualValueCalcFormula());//SimpleFieldAssign//sourceId:876262_1_38687
    }

    /*约定出参：参照实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_8.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定出参：参照实际值计算公式-参照实际值计算公式不能为空",false);
      receptionServiceRes_15 = nbGridCalculate.addAcceptField(receptionServiceReq_8);


      receptionServiceRes_13 = receptionServiceRes_15;
      }
else if((reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("ARTIFICIAL_REPORT")||reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("SEMIAUTOMATIC_REPORT"))){
       //elseif((D4-实际值向下计算条件模型(公共).汇报类型 等于 人工汇报 or D4-实际值向下计算条件模型(公共).汇报类型 等于 半自动汇报))  38686

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_16 = null;
    AddAcceptFieldReqDto receptionServiceReq_9=new AddAcceptFieldReqDto();
  if(receptionServiceRes_6!=null){
      receptionServiceReq_9.setCountActualValueCalcFormula(receptionServiceRes_6.getCountActualValueCalcFormula());//SimpleFieldAssign//sourceId:876262_1_38688
    }

    /*约定出参：参照实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_9.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定出参：参照实际值计算公式-参照实际值计算公式不能为空",false);
      receptionServiceRes_16 = nbGridCalculate.addAcceptField(receptionServiceReq_9);


      receptionServiceRes_13 = receptionServiceRes_16;
    }
else{
       //else  64000

//异常结束 64001
      throw new BizException("C10100338","对不起，找不到进度型指标实际值计算公式~",false);
    }
    }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE"))){
       //elseif((D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 百分比增长型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 百分比降幅型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 比率增长型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 比率降幅型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 主观定性))  66948

//processBranchName:正常结束 ,processBranchId:66949

}
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))){
       //elseif((D4-实际值向下计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 数量增长型 and D4-实际值向下计算条件模型(公共).数量型指标当无实际值标记 等于 是) or (D4-实际值向下计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 数量降幅型 and D4-实际值向下计算条件模型(公共).数量型指标当无实际值标记 等于 是))  66950

//processBranchName:正常结束 ,processBranchId:66951

}

else{
       //else  64034

//异常结束 64035
      throw new BizException("C10100339","对不起，找不到实际值计算公式~",false);
    }
      }
      }
      }
else if((reqDto!= null&& reqDto.getActualValueCalcFormula() == null )&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE")&&reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("MANUAL_FILLING"))&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("AUTO_REPORT"))){
       //elseif(D4-实际值向下计算条件模型(公共).实际值计算公式 值等于空  and (D4-实际值向下计算条件模型(公共).标准数据计算周期模型 等于 中间周期 or D4-实际值向下计算条件模型(公共).标准数据计算周期模型 等于 子周期 or D4-实际值向下计算条件模型(公共).标准数据计算周期模型 等于 中期 or D4-实际值向下计算条件模型(公共).标准数据计算周期模型 等于 父周期) and (D4-实际值向下计算条件模型(公共).被评对象类型编码 等于 评价对象 and D4-实际值向下计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值向下计算条件模型(公共).是否末级指标 等于 否 and D4-实际值向下计算条件模型(公共).计算数据来源 等于 人工填报) and D4-实际值向下计算条件模型(公共).汇报类型 等于 全自动汇报)  70836

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE"))&&(reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("FALSE")||reqDto!= null&& reqDto.getQuantityObjectiveNoValue() == null )) {
        //if((D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 数量增长型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 数量降幅型) and (D4-实际值向下计算条件模型(公共).数量型指标当无实际值标记 等于 否 or D4-实际值向下计算条件模型(公共).数量型指标当无实际值标记 值等于空 ))  70838

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_17 = null;
    AddAcceptFieldReqDto receptionServiceReq_10=new AddAcceptFieldReqDto();
  if(receptionServiceRes_8!=null){
      receptionServiceReq_10.setCountActualValueCalcFormula(receptionServiceRes_8.getEvaActualCalcCode());//SimpleFieldAssign//sourceId:876262_1_70841
    }

    /*约定出参：参照实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_10.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定出参：参照实际值计算公式-参照实际值计算公式不能为空",false);
      receptionServiceRes_17 = nbGridCalculate.addAcceptField(receptionServiceReq_10);


      receptionServiceRes_13 = receptionServiceRes_17;
      }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS"))){
       //elseif(D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 进度型)  70840

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_18 = null;
    AddAcceptFieldReqDto receptionServiceReq_11=new AddAcceptFieldReqDto();
  if(receptionServiceRes_10!=null){
      receptionServiceReq_11.setCountActualValueCalcFormula(receptionServiceRes_10.getEvaActualCalcCode());//SimpleFieldAssign//sourceId:876262_1_70842
    }

    /*约定出参：参照实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_11.getCountActualValueCalcFormula(),"D4-实际值向下计算条件模型(公共)-约定出参：参照实际值计算公式-参照实际值计算公式不能为空",false);
      receptionServiceRes_18 = nbGridCalculate.addAcceptField(receptionServiceReq_11);


      receptionServiceRes_13 = receptionServiceRes_18;
    }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE"))){
       //elseif((D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 百分比增长型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 百分比降幅型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 比率增长型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 比率降幅型 or D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 主观定性))  70845

//processBranchName:正常结束 ,processBranchId:70847

    }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))){
       //elseif((D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 数量增长型 and D4-实际值向下计算条件模型(公共).数量型指标当无实际值标记 等于 是) or (D4-实际值向下计算条件模型(公共).冗余指标业务类型 等于 数量降幅型 and D4-实际值向下计算条件模型(公共).数量型指标当无实际值标记 等于 是))  70846

//processBranchName:正常结束 ,processBranchId:70848

    }
else{
       //else  70849

//异常结束 70850
      throw new BizException("C10100467","对不起，找不到实际值向下计算公式（非末级周期）~",false);
    }
    }
ImplementActualValueDownClacFormAnalysisComRespDto retData = new ImplementActualValueDownClacFormAnalysisComRespDto();
  if(receptionServiceRes_13!=null){
      retData.setCountActualValueCalcFormula(receptionServiceRes_13.getCountActualValueCalcFormula());//SimpleFieldAssign//sourceId:876264_1
    }




return retData;
  }
/**
   * D4-执行进度值克隆其他树(公共)[6422]
   * gen by moon at 3/19/2024, 7:24:37 PM
   */
  @Trace(operationName = "D4-执行进度值克隆其他树(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueCloneOtherTreeComRespDto implementProgressValueCloneOtherTreeCom(ImplementProgressValueCloneOtherTreeComReqDto reqDto){


      OmsStandardDataResult omsStandardDataResult_1 =null;
      //virtualUsage 4-01-01查标准数据详情  42244
      OmsStandardDataResult omsStandardDataResult = null;
    QueryStandardDataDetailReq queryStandardDataDetailReq=new QueryStandardDataDetailReq();
if(reqDto!=null){
queryStandardDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:959595_1_42244
    }

    /*4-01-01查标准数据详情[2696]   */
    Assert.isNull(queryStandardDataDetailReq.getDataResultId(),"D4-执行进度值克隆其他树(公共)-4-01-01查标准数据详情-数据结果ID 不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentId(),"D4-执行进度值克隆其他树(公共)-4-01-01查标准数据详情-主题内容ID不能为空",false);
      omsStandardDataResult = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsStandardDataResult_1 = omsStandardDataResult;
if((omsStandardDataResult != null )) {
        //if(4-01-01查标准数据详情【查克隆源头数据是否存在】.出参 值不等于空 )  40057

RefreshStandardDataComRespDto refreshStandardDataComRespDto = null;
    if(omsStandardDataResult !=null){
          RefreshStandardDataComReqDto refreshStandardDataComReqDto=new RefreshStandardDataComReqDto();
  refreshStandardDataComReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:879217_1_42245
refreshStandardDataComReqDto.setFromContentTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:879218_1_42245
refreshStandardDataComReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1239323_1_42245
refreshStandardDataComReqDto.setDataType("PROGRESS_VALUE");//sourceId:879209_1_42245
refreshStandardDataComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:879220_1_42245
refreshStandardDataComReqDto.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:879224_1_42245
refreshStandardDataComReqDto.setCalcStartTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1239324_1_42245
if(reqDto!=null){
      refreshStandardDataComReqDto.setEntityId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:879210_1_42245
refreshStandardDataComReqDto.setPeriodId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:879204_1_42245
refreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:879227_1_42245
refreshStandardDataComReqDto.setWorkCycleUpdateSlice(reqDto.getWorkCycleUpdateSlice());//SimpleFieldAssign//sourceId:879232_1_42245
refreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083933_1_42245
//refreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:879230_1_42245
refreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:956728_1_42245
refreshStandardDataComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:879225_1_42245
    }
if(omsStandardDataResult!=null){
      refreshStandardDataComReqDto.setFromContentEntityId(omsStandardDataResult.getFromContentEntityId());//SimpleFieldAssign//sourceId:879211_1_42245
refreshStandardDataComReqDto.setDataResult(omsStandardDataResult.getDataResult());//SimpleFieldAssign//sourceId:879199_1_42245
refreshStandardDataComReqDto.setUnit(omsStandardDataResult.getUnit());//SimpleFieldAssign//sourceId:879203_1_42245
refreshStandardDataComReqDto.setResultType(omsStandardDataResult.getResultType());//SimpleFieldAssign//sourceId:879200_1_42245
refreshStandardDataComReqDto.setParentSubMidCycleType(omsStandardDataResult.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:879226_1_42245
refreshStandardDataComReqDto.setCycleStartTime(omsStandardDataResult.getCycleStartTime());//SimpleFieldAssign//sourceId:879205_1_42245
refreshStandardDataComReqDto.setCycleEndTime(omsStandardDataResult.getCycleEndTime());//SimpleFieldAssign//sourceId:879206_1_42245
refreshStandardDataComReqDto.setCycleTypeCode(omsStandardDataResult.getCycleTypeCode());//SimpleFieldAssign//sourceId:879208_1_42245
refreshStandardDataComReqDto.setCycleTypeInstanceCode(omsStandardDataResult.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:879207_1_42245
refreshStandardDataComReqDto.setUpdateCycleStartTime(omsStandardDataResult.getUpdateCycleStartTime());//SimpleFieldAssign//sourceId:1082074_1_42245
refreshStandardDataComReqDto.setUpdateCycleEndTime(omsStandardDataResult.getUpdateCycleEndTime());//SimpleFieldAssign//sourceId:1082075_1_42245
refreshStandardDataComReqDto.setUpdateCycleTypeCode(omsStandardDataResult.getUpdateCycleTypeCode());//SimpleFieldAssign//sourceId:879231_1_42245
refreshStandardDataComReqDto.setPersonLiableObjId(omsStandardDataResult.getPersonLiableObjId());//SimpleFieldAssign//sourceId:879212_1_42245
refreshStandardDataComReqDto.setPersonLiableTypeCode(omsStandardDataResult.getPersonLiableTypeCode());//SimpleFieldAssign//sourceId:879216_1_42245
refreshStandardDataComReqDto.setBizRoleObjId(omsStandardDataResult.getBizRoleObjId());//SimpleFieldAssign//sourceId:879213_1_42245
refreshStandardDataComReqDto.setBizRoleObjCode(omsStandardDataResult.getBizRoleObjCode());//SimpleFieldAssign//sourceId:879214_1_42245
refreshStandardDataComReqDto.setBizRoleObjName(omsStandardDataResult.getBizRoleObjName());//SimpleFieldAssign//sourceId:879215_1_42245
refreshStandardDataComReqDto.setBelongToContentTypeCode(omsStandardDataResult.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:879221_1_42245
refreshStandardDataComReqDto.setBelongToContentId(omsStandardDataResult.getBelongToContentId());//SimpleFieldAssign//sourceId:879222_1_42245
refreshStandardDataComReqDto.setCategoryContentTypeCode(omsStandardDataResult.getExtendedField1());//SimpleFieldAssign//sourceId:879228_1_42245
refreshStandardDataComReqDto.setTopTargetCategoryID(omsStandardDataResult.getExtendedField2());//SimpleFieldAssign//sourceId:879229_1_42245
    }

    /*D4-1更新标准数据(公共)[3189]   */
    Assert.isNull(refreshStandardDataComReqDto.getEntityId(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getTableTypeCode(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-归属内容表类型编码不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getDataResult(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-数据值结果不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getResultType(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-结果产生类型 不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getDataUsageSceneCode(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-数据业务场景不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getDataType(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-数据点类型不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getPeriodId(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getCycleStartTime(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-周期开始时间不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getCycleEndTime(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-周期结束时间不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getCycleTypeCode(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-周期类型标识不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getSubjectLifeCycle(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-主体生命周期不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getThemeContentTypeCode(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-主题内容类型编码不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getThemeContentId(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-主题内容ID不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getCalcStartTime(),"D4-执行进度值克隆其他树(公共)-D4-1更新标准数据(公共)-计算开始时间不能为空",false);
      refreshStandardDataComRespDto = standardDataService.refreshStandardDataCom(refreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("PROGRESS_VALUE");//sourceId:897051_1_42246
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_PROGRESS_VALUE");//sourceId:897052_1_42246
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("PROGRESS_FROM_LAST_RATIO");//sourceId:897053_1_42246
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897057_1_42246
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897058_1_42246
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897049_1_42246
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897050_1_42246
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897054_1_42246
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897055_1_42246
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行进度值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



      }
ImplementProgressValueCloneOtherTreeComRespDto retData = new ImplementProgressValueCloneOtherTreeComRespDto();
  if(omsStandardDataResult_1!=null){
      retData.setDataResult(omsStandardDataResult_1.getDataResult());//SimpleFieldAssign//sourceId:1611340_1
    }




return retData;
  }
/**
   * D4-实际值向左计算条件模型(公共)[6403]
   * gen by moon at 6/28/2024, 3:51:24 PM
   */
  @Trace(operationName = "D4-实际值向左计算条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueRightClacFormAnalysisComRespDto implementActualValueRightClacFormAnalysisCom(ImplementActualValueRightClacFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_5 =null;
//virtualUsage M4约定实际值计算公式：向左取最近可循环周期最新  38638
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setActualValueCalcFormula("RIGHTWARD_CALCULATION");//sourceId:875989_1_38638

    /*M4约定实际值计算公式：向左取最近可循环周期最新[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getActualValueCalcFormula(),"D4-实际值向左计算条件模型(公共)-M4约定实际值计算公式：向左取最近可循环周期最新-实际值计算公式不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



//virtualUsage M4约定实际值计算公式：向左取最近可循环周期求和  38714
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setActualValueCalcFormula("RIGHTWARD_CALCULATION_SUM");//sourceId:875986_1_38714

    /*M4约定实际值计算公式：向左取最近可循环周期求和[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getActualValueCalcFormula(),"D4-实际值向左计算条件模型(公共)-M4约定实际值计算公式：向左取最近可循环周期求和-实际值计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);



if((reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&& reqDto.getActualValueCalcFormula() == null )&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("ARTIFICIAL_REPORT")||reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("SEMIAUTOMATIC_REPORT"))) {
        //if((D4-实际值向左计算条件模型(公共).标准数据计算周期模型 等于 中间周期 or D4-实际值向左计算条件模型(公共).标准数据计算周期模型 等于 子周期 or D4-实际值向左计算条件模型(公共).标准数据计算周期模型 等于 中期 or D4-实际值向左计算条件模型(公共).标准数据计算周期模型 等于 父周期) and (D4-实际值向左计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值向左计算条件模型(公共).被评对象类型编码 等于 评价对象 and D4-实际值向左计算条件模型(公共).实际值计算公式 值等于空 ) and (D4-实际值向左计算条件模型(公共).汇报类型 等于 人工汇报 or D4-实际值向左计算条件模型(公共).汇报类型 等于 半自动汇报))  38640

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE"))&&(reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("FALSE")||reqDto!= null&& reqDto.getQuantityObjectiveNoValue() == null )) {
        //if((D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 数量增长型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 数量降幅型) and (D4-实际值向左计算条件模型(公共).数量型指标当无实际值标记 等于 否 or D4-实际值向左计算条件模型(公共).数量型指标当无实际值标记 值等于空 ))  38716

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_2.setActualValueCalcFormula(receptionServiceRes_2.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:875340_1_63983
    }

    /*约定公式：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getActualValueCalcFormula(),"D4-实际值向左计算条件模型(公共)-约定公式：实际值计算公式-实际值计算公式不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_5 = receptionServiceRes_4;
      }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE"))){
       //elseif((D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 百分比增长型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 百分比降幅型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 进度型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 比率增长型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 比率降幅型))  38718


//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_6 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_3.setActualValueCalcFormula(receptionServiceRes.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:875340_1_63984
    }

    /*约定公式：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getActualValueCalcFormula(),"D4-实际值向左计算条件模型(公共)-约定公式：实际值计算公式-实际值计算公式不能为空",false);
      receptionServiceRes_6 = nbGridCalculate.addAcceptField(receptionServiceReq_3);


      receptionServiceRes_5 = receptionServiceRes_6;
    }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))){
       //elseif(D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 主观定性 or (D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 数量增长型 and D4-实际值向左计算条件模型(公共).数量型指标当无实际值标记 等于 是) or (D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 数量降幅型 and D4-实际值向左计算条件模型(公共).数量型指标当无实际值标记 等于 是))  66954

//processBranchName:正常结束 ,processBranchId:66955

    }
else{
       //else  63985

//异常结束 63986
      throw new BizException("C10100327","对不起，实际值向左计算公式错误（人工汇报或半自动汇报）~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_OF_PROCESS_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE"))&&(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")&&reqDto!= null&& reqDto.getActualValueCalcFormula() == null )&&(reqDto!= null&&  reqDto.getReportType() !=null && reqDto.getReportType().equals("AUTO_REPORT"))){
       //elseif((D4-实际值向左计算条件模型(公共).标准数据计算周期模型 等于 中间周期 or D4-实际值向左计算条件模型(公共).标准数据计算周期模型 等于 子周期 or D4-实际值向左计算条件模型(公共).标准数据计算周期模型 等于 中期 or D4-实际值向左计算条件模型(公共).标准数据计算周期模型 等于 父周期) and (D4-实际值向左计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值向左计算条件模型(公共).被评对象类型编码 等于 评价对象 and D4-实际值向左计算条件模型(公共).实际值计算公式 值等于空 ) and D4-实际值向左计算条件模型(公共).汇报类型 等于 全自动汇报)  70789

if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE"))&&(reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("FALSE")||reqDto!= null&& reqDto.getQuantityObjectiveNoValue() == null )&&(reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))) {
        //if((D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 数量增长型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 数量降幅型) and (D4-实际值向左计算条件模型(公共).数量型指标当无实际值标记 等于 否 or D4-实际值向左计算条件模型(公共).数量型指标当无实际值标记 值等于空 ) and D4-实际值向左计算条件模型(公共).是否末级指标 等于 是)  70791

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_7 = null;
    AddAcceptFieldReqDto receptionServiceReq_4=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_4.setActualValueCalcFormula(receptionServiceRes_2.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:875340_1_70947
    }

    /*约定公式：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getActualValueCalcFormula(),"D4-实际值向左计算条件模型(公共)-约定公式：实际值计算公式-实际值计算公式不能为空",false);
      receptionServiceRes_7 = nbGridCalculate.addAcceptField(receptionServiceReq_4);

    receptionServiceRes_5 = receptionServiceRes_7;

      }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE"))&&(reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))){
       //elseif((D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 百分比增长型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 百分比降幅型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 进度型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 比率增长型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 比率降幅型) and D4-实际值向左计算条件模型(公共).是否末级指标 等于 是)  70792

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_8 = null;
    AddAcceptFieldReqDto receptionServiceReq_5=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_5.setActualValueCalcFormula(receptionServiceRes.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:875340_1_70948
    }

    /*约定公式：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getActualValueCalcFormula(),"D4-实际值向左计算条件模型(公共)-约定公式：实际值计算公式-实际值计算公式不能为空",false);
      receptionServiceRes_8 = nbGridCalculate.addAcceptField(receptionServiceReq_5);

    receptionServiceRes_5 = receptionServiceRes_8;


    }
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PERCENTAGE_DECLINE")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_GROWTH")||reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("RATIO_DECLINE"))&&(reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))){
       //elseif((D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 百分比增长型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 百分比降幅型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 比率增长型 or D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 比率降幅型) and D4-实际值向左计算条件模型(公共).是否末级指标 等于 否)  71062

    //ModelCode: receptionService
    AddAcceptFieldRespDto receptionServiceRes_9 = null;
    AddAcceptFieldReqDto receptionServiceReq_6=new AddAcceptFieldReqDto();
    if(receptionServiceRes!=null){
      receptionServiceReq_6.setActualValueCalcFormula(receptionServiceRes.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:875340_1_71063
    }

    /*约定公式：实际值计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_6.getActualValueCalcFormula(),"D4-实际值向左计算条件模型(公共)-约定公式：实际值计算公式-实际值计算公式不能为空",false);
    receptionServiceRes_9 = nbGridCalculate.addAcceptField(receptionServiceReq_6);

    receptionServiceRes_5 = receptionServiceRes_9;
}
else if((reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_GROWTH")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("NUMBER_DECLINE")&&reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))){
       //elseif(D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 主观定性 or (D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 数量增长型 and D4-实际值向左计算条件模型(公共).数量型指标当无实际值标记 等于 是) or (D4-实际值向左计算条件模型(公共).冗余指标业务类型 等于 数量降幅型 and D4-实际值向左计算条件模型(公共).数量型指标当无实际值标记 等于 是) or (D4-实际值向左计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际值向左计算条件模型(公共).是否末级指标 等于 否))  70793

//processBranchName:正常结束 ,processBranchId:70796

    }
else{
       //else  70794

//异常结束 70795
      throw new BizException("C10100465","对不起，实际值向左计算公式错误（全自动汇报）~",false);
      }
      }
ImplementActualValueRightClacFormAnalysisComRespDto retData = new ImplementActualValueRightClacFormAnalysisComRespDto();
  if(receptionServiceRes_5!=null){
      retData.setActualValueCalcFormula(receptionServiceRes_5.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:876243_1
    }




return retData;
  }
/**
   * D4-执行实际值系统对接分析(公共)[6417]
   * gen by moon at 4/18/2024, 10:58:31 PM
   */
  @Trace(operationName = "D4-执行实际值系统对接分析(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueSystemDockingAnalysisComRespDto implementActualValueSystemDockingAnalysisCom(ImplementActualValueSystemDockingAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("LAST_CYCLE")&&reqDto!= null&&  reqDto.getCalculateDataSource() !=null && reqDto.getCalculateDataSource().equals("SYSTEM_DOCKING")&&!(reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("SUBJECTIVE_QUALITATIVE"))&&!(reqDto!= null&&  reqDto.getQuantityObjectiveNoValue() !=null && reqDto.getQuantityObjectiveNoValue().equals("TRUE"))&&reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT"))) {
        //if((D4-执行实际值系统对接分析(公共).关联目标内容类型编码 等于 指标 and D4-执行实际值系统对接分析(公共).标准数据计算周期模型 等于 末级周期 and D4-执行实际值系统对接分析(公共).计算数据来源 等于 系统对接 and D4-执行实际值系统对接分析(公共).冗余指标业务类型 不等于 主观定性 and D4-执行实际值系统对接分析(公共).数量型指标当无实际值标记 不等于 是 and D4-执行实际值系统对接分析(公共).被评对象类型编码 等于 评价对象))  38725

      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setActualValueCalcFormula("SYSTEM_DOCKING");//sourceId:876129_1_63954

    /*约定公式：实际值系统对接[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getActualValueCalcFormula(),"D4-执行实际值系统对接分析(公共)-约定公式：实际值系统对接-实际值计算公式不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
      }
ImplementActualValueSystemDockingAnalysisComRespDto retData = new ImplementActualValueSystemDockingAnalysisComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setActualValueCalcFormula(receptionServiceRes_1.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:876222_1
    }




return retData;
  }
/**
   * D4-执行克隆参照实际值到实际值(公共)[6479]
   * gen by moon at 3/16/2024, 2:42:43 PM
   */
  @Trace(operationName = "D4-执行克隆参照实际值到实际值(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueCloneCountProgressComRespDto implementActualValueCloneCountProgressCom(ImplementActualValueCloneCountProgressComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getActualValueCalcFormula() !=null && reqDto.getActualValueCalcFormula().equals("DOWNWARD_CALCULATION_SUM_COPY")||reqDto!= null&&  reqDto.getActualValueCalcFormula() !=null && reqDto.getActualValueCalcFormula().equals("DOWNWARD_CALCULATION_WEIGHT_COPY"))&&(reqDto!= null&& reqDto.getActualValueCalcFormula() != null )) {
        //if((D4-执行克隆参照实际值到实际值(公共).实际值计算公式 等于 向下计算参照值并赋值（求和） or D4-执行克隆参照实际值到实际值(公共).实际值计算公式 等于 向下计算参照值并赋值（权重求和）) and D4-执行克隆参照实际值到实际值(公共).实际值计算公式 值不等于空 )  39857

UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:893562_1_39858
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:893563_1_39858
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:893564_1_39858
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:893569_1_39858
unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959036_1_39858
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082708_1_39858
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:893566_1_39858
unifiedRefreshStandardDataComReqDto.setActualValue(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:893605_1_39858
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行克隆参照实际值到实际值(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-执行克隆参照实际值到实际值(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-执行克隆参照实际值到实际值(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-执行克隆参照实际值到实际值(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-执行克隆参照实际值到实际值(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行克隆参照实际值到实际值(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("ACTUAL_VALUE");//sourceId:893572_1_39859
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("CHANGE_FROM_LAST_TARGET");//sourceId:893573_1_39859
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_TARGET_LIFT_RATIO");//sourceId:893574_1_39859
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:893570_1_39859
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:893571_1_39859
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:893575_1_39859
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:893577_1_39859
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:893578_1_39859
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:893579_1_39859
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:893576_1_39859
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行克隆参照实际值到实际值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



      }
ImplementActualValueCloneCountProgressComRespDto retData = new ImplementActualValueCloneCountProgressComRespDto();





return retData;
  }
/**
   * D4-执行计算下级数据点权重和(公共)[6424]
   * gen by moon at 6/27/2023, 6:26:02 PM
   */
  @Trace(operationName = "D4-执行计算下级数据点权重和(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementCalcLowerLevelComRespDto implementCalcLowerLevelCom(ImplementCalcLowerLevelComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage D4-查下级标准数据及权重列表  39375
      QueryPrepareForLowWeightAndDataListComRespDto queryPrepareForLowWeightAndDataListComRespDto = null;
    QueryPrepareForLowWeightAndDataListComReqDto queryPrepareForLowWeightAndDataListComReqDto=new QueryPrepareForLowWeightAndDataListComReqDto();
  if(reqDto!=null){
      queryPrepareForLowWeightAndDataListComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:882706_1_39375
queryPrepareForLowWeightAndDataListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:882707_1_39375
queryPrepareForLowWeightAndDataListComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042272_1_39375
queryPrepareForLowWeightAndDataListComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:882712_1_39375
queryPrepareForLowWeightAndDataListComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:882709_1_39375
queryPrepareForLowWeightAndDataListComReqDto.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:882711_1_39375
queryPrepareForLowWeightAndDataListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:882708_1_39375
    }

    /*D4-查下级标准数据及权重列表[5794]   */
    Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getEvaObjTargetCycleId(),"D4-执行计算下级数据点权重和(公共)-D4-查下级标准数据及权重列表-被评对象目标周期ID不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getCycleId(),"D4-执行计算下级数据点权重和(公共)-D4-查下级标准数据及权重列表-周期ID不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getParentSubMidCycleType(),"D4-执行计算下级数据点权重和(公共)-D4-查下级标准数据及权重列表-父子中周期类型不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getDataType(),"D4-执行计算下级数据点权重和(公共)-D4-查下级标准数据及权重列表-数据点类型不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getEvaluationTemplateId(),"D4-执行计算下级数据点权重和(公共)-D4-查下级标准数据及权重列表-冗余评价模板ID不能为空",false);
      queryPrepareForLowWeightAndDataListComRespDto = standardDataService.queryPrepareForLowWeightAndDataListCom(queryPrepareForLowWeightAndDataListComReqDto)/*vcase invoke isSameApp*/;



if((queryPrepareForLowWeightAndDataListComRespDto!= null&&  queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList() !=null && queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList().size()>0)) {
        //if(D4-查下级标准数据及权重列表.下级权重及标准数据列表数据集条数 大于 0)  39090

ImplementCalcServiceCollectionOfMultipleNumComRespDto implementCalcServiceCollectionOfMultipleNumComRespDto = null;
    if(queryPrepareForLowWeightAndDataListComRespDto !=null){
          ImplementCalcServiceCollectionOfMultipleNumComReqDto implementCalcServiceCollectionOfMultipleNumComReqDto=new ImplementCalcServiceCollectionOfMultipleNumComReqDto();
  implementCalcServiceCollectionOfMultipleNumComReqDto.setCalcFormula("COMPLEX_CALC_OF_MULTIPLE_NUM");//sourceId:879436_1_39091
implementCalcServiceCollectionOfMultipleNumComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:879438_1_39091
if(reqDto!=null){
implementCalcServiceCollectionOfMultipleNumComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:879439_1_39091
    }
if(queryPrepareForLowWeightAndDataListComRespDto!= null&&  queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList() !=null&& !CollectionUtil.isEmpty(queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList())){
      implementCalcServiceCollectionOfMultipleNumComReqDto.setDataSetsListOne(//objList-to-objLists
        queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList().stream().map(item -> {
      DataSetsListOneDto elm = new DataSetsListOneDto();
      if(item!=null){
      elm.setCommPrimaryKey(item.getEntityId());//SimpleFieldAssign//sourceId:190641_2_39091
elm.setCalcPara1(item.getDataResult());//SimpleFieldAssign//sourceId:190643_2_39091
elm.setCalcPara2(item.getWeightValue());//SimpleFieldAssign//sourceId:190644_2_39091
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:879440_1_39091
    }

    /*D4-计算服务集合（数据集）(公共)[5983]   */
    Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getCalcFormula(),"D4-执行计算下级数据点权重和(公共)-D4-计算服务集合（数据集）(公共)-通用计算公式不能为空",false);
Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getDecimalPointRules(),"D4-执行计算下级数据点权重和(公共)-D4-计算服务集合（数据集）(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getDecimalDigitsLastRules(),"D4-执行计算下级数据点权重和(公共)-D4-计算服务集合（数据集）(公共)-小数最后一位规则不能为空",false);
      implementCalcServiceCollectionOfMultipleNumComRespDto = calculationRulesService.implementCalcServiceCollectionOfMultipleNumCom(implementCalcServiceCollectionOfMultipleNumComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    if(implementCalcServiceCollectionOfMultipleNumComRespDto !=null){
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:879442_1_39092
calculateCalcServiceCollectionComReqDto.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:879445_1_39092
if(implementCalcServiceCollectionOfMultipleNumComRespDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(implementCalcServiceCollectionOfMultipleNumComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:879444_1_39092
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:879448_1_39092
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:879449_1_39092
    }

    /*D4-计算服务集合（基础）(公共)[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行计算下级数据点权重和(公共)-D4-计算服务集合（基础）(公共)-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcPara1(),"D4-执行计算下级数据点权重和(公共)-D4-计算服务集合（基础）(公共)-计算入参1不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcPara2(),"D4-执行计算下级数据点权重和(公共)-D4-计算服务集合（基础）(公共)-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行计算下级数据点权重和(公共)-D4-计算服务集合（基础）(公共)-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行计算下级数据点权重和(公共)-D4-计算服务集合（基础）(公共)-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto!=null){
      receptionServiceReq.setComFloatField(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:879502_1_39093
    }

    /*约定出参：下级数据点权重之和[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getComFloatField(),"D4-执行计算下级数据点权重和(公共)-约定出参：下级数据点权重之和-通用数值字段（小数型）不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
ImplementCalcLowerLevelComRespDto retData = new ImplementCalcLowerLevelComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setDataResult(receptionServiceRes_1.getComFloatField());//SimpleFieldAssign//sourceId:879513_1
    }




return retData;
  }
/**
   * D4-执行进度值向左计算(公共)[6473]
   * gen by moon at 3/16/2024, 2:44:04 PM
   */
  @Trace(operationName = "D4-执行进度值向左计算(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueRightCalcFormulaComRespDto implementProgressValueRightCalcFormulaCom(ImplementProgressValueRightCalcFormulaComReqDto reqDto){


      OmsStandardDataResult omsStandardDataResult_1 =null;
      //virtualUsage 4-01-01查标准数据详情  40079
      OmsStandardDataResult omsStandardDataResult = null;
    QueryStandardDataDetailReq queryStandardDataDetailReq=new QueryStandardDataDetailReq();
if(reqDto!=null){
      queryStandardDataDetailReq.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:1005506_1_40079
queryStandardDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897176_1_40079
    }

    /*4-01-01查标准数据详情[2696]   */
    Assert.isNull(queryStandardDataDetailReq.getDataResultId(),"D4-执行进度值向左计算(公共)-4-01-01查标准数据详情-数据结果ID 不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentId(),"D4-执行进度值向左计算(公共)-4-01-01查标准数据详情-主题内容ID不能为空",false);
      omsStandardDataResult = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsStandardDataResult_1 = omsStandardDataResult;
if((reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("RIGHTWARD_CALCULATION")&&omsStandardDataResult != null )) {
        //if((D4-执行进度值向左计算(公共).进度值计算公式 等于 人工填报进度值克隆末级周期 and 4-01-01查标准数据详情.出参 值不等于空 ))  39826

UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(omsStandardDataResult !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(omsStandardDataResult!=null){
      unifiedRefreshStandardDataComReqDto.setProgressValue(omsStandardDataResult.getDataResult());//SimpleFieldAssign//sourceId:897100_1_40076
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:956733_1_40076
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897092_1_40076
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897093_1_40076
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897094_1_40076
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897099_1_40076
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897095_1_40076
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083911_1_40076
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897096_1_40076
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值向左计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值向左计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-执行进度值向左计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-执行进度值向左计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-执行进度值向左计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行进度值向左计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("PROGRESS_VALUE");//sourceId:897104_1_40077
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_PROGRESS_VALUE");//sourceId:897105_1_40077
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("PROGRESS_FROM_LAST_RATIO");//sourceId:897106_1_40077
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897110_1_40077
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897111_1_40077
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897102_1_40077
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897103_1_40077
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897107_1_40077
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897109_1_40077
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897108_1_40077
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行进度值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



      }
else{
       //else  45431

//异常结束 45432
      throw new BizException("C10100245","进度值数据不存在~",false);
      }
ImplementProgressValueRightCalcFormulaComRespDto retData = new ImplementProgressValueRightCalcFormulaComRespDto();
  //todo dong 未找到匹配生成策略,请检查生成策略retData.setComFloatField(),数据源项; to( ==>tableName:custom_fields_3, fieldEnname:comFloatField ,uniqueId: 892510_1 uniqueSourceId:out_892508_1) from (varName:undefined fieldundefined)
if(omsStandardDataResult_1!=null){
      retData.setDataResult(omsStandardDataResult_1.getDataResult());//SimpleFieldAssign//sourceId:1611343_1
    }




return retData;
  }
/**
   * D4-执行进度值向下计算参照进度值(公共)[6475]
   * gen by moon at 2/9/2024, 1:56:54 AM
   */
  @Trace(operationName = "D4-执行进度值向下计算参照进度值(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueDownCalcFormulaComRespDto implementProgressValueDownCalcFormulaCom(ImplementProgressValueDownCalcFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_KR")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_KR_COPY"))) {
        //if((D4-执行进度值向下计算公式(公共).进度值计算公式 等于 向下计算参照值不赋值（O加KR） or D4-执行进度值向下计算公式(公共).进度值计算公式 等于 向下计算参照值并赋值（O加KR）))  39829

if((reqDto!= null&& reqDto.getComFloatField1() != null &&reqDto!= null&& reqDto.getComFloatField2() != null )) {
        //if((D4-执行进度值向下计算公式(公共).下级O进度值 值不等于空  and D4-执行进度值向下计算公式(公共).下级KR进度值 值不等于空 ))  45889

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:892755_1_45894
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:892761_1_45894
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:892757_1_45894
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:892758_1_45894
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892762_1_45894
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:892755_1_45895
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:892757_1_45895
calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:892758_1_45895
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:892761_1_45895
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892762_1_45895
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:892765_1_45896
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:892771_1_45896
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:892767_1_45896
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:892768_1_45896
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892772_1_45896
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalPointRules(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相加-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalDigitsLastRules(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相加-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:892745_1_45897
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:892748_1_45897
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:892747_1_45897
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:892751_1_45897
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892752_1_45897
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行进度值向下计算参照进度值(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq.setComFloatField(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:892743_1_45898
    }

    /*约定出参：参照进度值[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&& reqDto.getComFloatField1() != null &&reqDto!= null&& reqDto.getComFloatField2() == null )){
       //elseif((D4-执行进度值向下计算公式(公共).下级O进度值 值不等于空  and D4-执行进度值向下计算公式(公共).下级KR进度值 值等于空 ))  45890

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_1.setComFloatField(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:892743_1_45892
    }

    /*约定出参：参照进度值[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
    }
else if((reqDto!= null&& reqDto.getComFloatField2() != null &&reqDto!= null&& reqDto.getComFloatField1() == null )){
       //elseif((D4-执行进度值向下计算公式(公共).下级KR进度值 值不等于空  and D4-执行进度值向下计算公式(公共).下级O进度值 值等于空 ))  45891

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_3 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_2.setComFloatField(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:892743_1_45893
    }

    /*约定出参：参照进度值[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_3 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
    }
      }
else if((reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR_COPY"))&&(reqDto!= null&& reqDto.getComFloatField1() != null )){
       //elseif((D4-执行进度值向下计算参照进度值(公共).进度值计算公式 等于 向下计算参照值不赋值（只有O） or D4-执行进度值向下计算参照进度值(公共).进度值计算公式 等于 向下计算参照值并赋值（只有O）) and D4-执行进度值向下计算参照进度值(公共).下级O进度值 值不等于空 )  61238

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_3.setComFloatField(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:892743_1_61240
    }

    /*约定出参：参照进度值[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_3);


      receptionServiceRes_1 = receptionServiceRes_4;
    }
else if((reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_ONLY_KR")&&reqDto!= null&& reqDto.getComFloatField2() != null )){
       //elseif((D4-执行进度值向下计算参照进度值(公共).进度值计算公式 等于 向下只计算KR and D4-执行进度值向下计算参照进度值(公共).下级KR进度值 值不等于空 ))  61239

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_5 = null;
    AddAcceptFieldReqDto receptionServiceReq_4=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_4.setComFloatField(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:892743_1_61241
    }

    /*约定出参：参照进度值[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_5 = nbGridCalculate.addAcceptField(receptionServiceReq_4);


      receptionServiceRes_1 = receptionServiceRes_5;
    }
ImplementProgressValueDownCalcFormulaComRespDto retData = new ImplementProgressValueDownCalcFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setComFloatField(receptionServiceRes_1.getComFloatField());//SimpleFieldAssign//sourceId:977230_1
    }




return retData;
  }
/**
   * D4-执行实际值向左计算(公共)[6476]
   * gen by moon at 3/20/2024, 11:58:42 AM
   */
  @Trace(operationName = "D4-执行实际值向左计算(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueRightCalcFormulaComRespDto implementActualValueRightCalcFormulaCom(ImplementActualValueRightCalcFormulaComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getActualValueCalcFormula() !=null && reqDto.getActualValueCalcFormula().equals("RIGHTWARD_CALCULATION"))) {
        //if(D4-执行实际值向左计算(公共).实际值计算公式 等于 人工填报实际值克隆末级周期)  40103

      OmsStandardDataResult omsStandardDataResult = null;
    QueryStandardDataDetailReq queryStandardDataDetailReq=new QueryStandardDataDetailReq();
if(reqDto!=null){
      queryStandardDataDetailReq.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:1006140_1_44089
queryStandardDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897780_1_44089
    }

    /*4-01-01查标准数据详情[2696]   */
    Assert.isNull(queryStandardDataDetailReq.getDataResultId(),"D4-执行实际值向左计算(公共)-4-01-01查标准数据详情-数据结果ID 不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentId(),"D4-执行实际值向左计算(公共)-4-01-01查标准数据详情-主题内容ID不能为空",false);
      omsStandardDataResult = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      Assert.isTrue(omsStandardDataResult== null||  omsStandardDataResult.getDataResultId() ==null,"找不到数据，系统异常",false);


UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(omsStandardDataResult !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(omsStandardDataResult!=null){
      unifiedRefreshStandardDataComReqDto.setActualValue(omsStandardDataResult.getDataResult());//SimpleFieldAssign//sourceId:897673_1_40105
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897664_1_40105
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897665_1_40105
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897666_1_40105
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897671_1_40105
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897667_1_40105
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083917_1_40105
unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959065_1_40105
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897668_1_40105
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("ACTUAL_VALUE");//sourceId:897676_1_40106
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("CHANGE_FROM_LAST_TARGET");//sourceId:897677_1_40106
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_TARGET_LIFT_RATIO");//sourceId:897678_1_40106
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897674_1_40106
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897675_1_40106
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897679_1_40106
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897681_1_40106
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897682_1_40106
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897683_1_40106
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897680_1_40106
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



      }
else if((reqDto!= null&&  reqDto.getActualValueCalcFormula() !=null && reqDto.getActualValueCalcFormula().equals("RIGHTWARD_CALCULATION_SUM")&&reqDto!= null&& reqDto.getActualValueCalcFormula() != null )){
       //elseif((D4-执行实际值向左计算(公共).实际值计算公式 等于 人工填报实际值末级周期求和 and D4-执行实际值向左计算(公共).实际值计算公式 值不等于空 ))  40104

ImplementNextCyclePeriodStandardDataComRespDto implementNextCyclePeriodStandardDataComRespDto = null;
    ImplementNextCyclePeriodStandardDataComReqDto implementNextCyclePeriodStandardDataComReqDto=new ImplementNextCyclePeriodStandardDataComReqDto();
  implementNextCyclePeriodStandardDataComReqDto.setDataType("ACTUAL_VALUE");//sourceId:897739_1_40107
if(reqDto!=null){
      implementNextCyclePeriodStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897735_1_40107
implementNextCyclePeriodStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897736_1_40107
implementNextCyclePeriodStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1085670_1_40107
implementNextCyclePeriodStandardDataComReqDto.setLastCycleType(reqDto.getLastCycleType());//SimpleFieldAssign//sourceId:897737_1_40107
implementNextCyclePeriodStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897738_1_40107
    }

    /*D4-执行最近可循环周期标准数据分析(公共)[6207]   */
    Assert.isNull(implementNextCyclePeriodStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值向左计算(公共)-D4-执行最近可循环周期标准数据分析(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementNextCyclePeriodStandardDataComReqDto.getCycleId(),"D4-执行实际值向左计算(公共)-D4-执行最近可循环周期标准数据分析(公共)-周期ID不能为空",false);
Assert.isNull(implementNextCyclePeriodStandardDataComReqDto.getLastCycleType(),"D4-执行实际值向左计算(公共)-D4-执行最近可循环周期标准数据分析(公共)-末级周期类型不能为空",false);
Assert.isNull(implementNextCyclePeriodStandardDataComReqDto.getDataType(),"D4-执行实际值向左计算(公共)-D4-执行最近可循环周期标准数据分析(公共)-数据点类型不能为空",false);
Assert.isNull(implementNextCyclePeriodStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行实际值向左计算(公共)-D4-执行最近可循环周期标准数据分析(公共)-冗余评价模板ID不能为空",false);
      implementNextCyclePeriodStandardDataComRespDto = standardDataService.implementNextCyclePeriodStandardDataCom(implementNextCyclePeriodStandardDataComReqDto)/*vcase invoke isSameApp*/;



if((implementNextCyclePeriodStandardDataComRespDto!= null&&  implementNextCyclePeriodStandardDataComRespDto.getStandardDataList() !=null && implementNextCyclePeriodStandardDataComRespDto.getStandardDataList().size()>0)) {
        //if(D4-最近可循环周期实际值.标准数据列表数据集条数 大于 0)  40109

ImplementCalcServiceCollectionOfMultipleNumComRespDto implementCalcServiceCollectionOfMultipleNumComRespDto = null;
    if(implementNextCyclePeriodStandardDataComRespDto !=null){
          ImplementCalcServiceCollectionOfMultipleNumComReqDto implementCalcServiceCollectionOfMultipleNumComReqDto=new ImplementCalcServiceCollectionOfMultipleNumComReqDto();
  implementCalcServiceCollectionOfMultipleNumComReqDto.setCalcFormula("SUM_OF_MULTIPLE_NUM");//sourceId:897757_1_40110
if(reqDto!=null){
      implementCalcServiceCollectionOfMultipleNumComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897759_1_40110
implementCalcServiceCollectionOfMultipleNumComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897760_1_40110
    }
if(implementNextCyclePeriodStandardDataComRespDto!= null&&  implementNextCyclePeriodStandardDataComRespDto.getStandardDataList() !=null&& !CollectionUtil.isEmpty(implementNextCyclePeriodStandardDataComRespDto.getStandardDataList())){
      implementCalcServiceCollectionOfMultipleNumComReqDto.setDataSetsListOne(//objList-to-objLists
        implementNextCyclePeriodStandardDataComRespDto.getStandardDataList().stream().map(item -> {
      DataSetsListOneDto elm = new DataSetsListOneDto();
      if(item!=null){
      elm.setCommPrimaryKey(item.getDataResultId());//SimpleFieldAssign//sourceId:191761_2_40110
elm.setCalcPara1(item.getDataResult());//SimpleFieldAssign//sourceId:191763_2_40110
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:897761_1_40110
    }

    /*D4-计算服务集合（数据集）(公共)[5983]   */
    Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getCalcFormula(),"D4-执行实际值向左计算(公共)-D4-计算服务集合（数据集）(公共)-通用计算公式不能为空",false);
Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getDecimalPointRules(),"D4-执行实际值向左计算(公共)-D4-计算服务集合（数据集）(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值向左计算(公共)-D4-计算服务集合（数据集）(公共)-小数最后一位规则不能为空",false);
      implementCalcServiceCollectionOfMultipleNumComRespDto = calculationRulesService.implementCalcServiceCollectionOfMultipleNumCom(implementCalcServiceCollectionOfMultipleNumComReqDto)/*vcase invoke isSameApp*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_1 = null;
    if(implementCalcServiceCollectionOfMultipleNumComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_1=new UnifiedRefreshStandardDataComReqDto();
  if(implementCalcServiceCollectionOfMultipleNumComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setActualValue(implementCalcServiceCollectionOfMultipleNumComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:897673_1_40111
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897664_1_40111
unifiedRefreshStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897665_1_40111
unifiedRefreshStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897666_1_40111
unifiedRefreshStandardDataComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897671_1_40111
unifiedRefreshStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897667_1_40111
unifiedRefreshStandardDataComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083917_1_40111
unifiedRefreshStandardDataComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959065_1_40111
unifiedRefreshStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897668_1_40111
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getCycleId(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getUpdateCycleId(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getParentSubMidCycleType(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getStandardDataCalcCycleModel(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-执行实际值向左计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_1 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setSourceDataType("ACTUAL_VALUE");//sourceId:897676_1_40112
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCalcDataType("CHANGE_FROM_LAST_TARGET");//sourceId:897677_1_40112
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDataType("FROM_LAST_TARGET_LIFT_RATIO");//sourceId:897678_1_40112
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897674_1_40112
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897675_1_40112
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897679_1_40112
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897681_1_40112
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897682_1_40112
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897683_1_40112
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897680_1_40112
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCycleId(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getUpdateCycleId(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getSourceDataType(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCalcDataType(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDataType(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalPointRules(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalDigitsLastRules(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-执行实际值向左计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



      }
//else{
//       //else  45435
//
////异常结束 45436
//      throw new BizException("C10100246","实际值数据不存在~",false);
//      }
    }
ImplementActualValueRightCalcFormulaComRespDto retData = new ImplementActualValueRightCalcFormulaComRespDto();





return retData;
  }
/**
   * D4-执行克隆参照进度值到进度值(公共)[6478]
   * gen by moon at 7/10/2023, 12:54:51 AM
   */
  @Trace(operationName = "D4-执行克隆参照进度值到进度值(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueCloneCountProgressComRespDto implementProgressValueCloneCountProgressCom(ImplementProgressValueCloneCountProgressComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR_COPY")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_KR_COPY"))&&(reqDto!= null&& reqDto.getComFloatField() != null )) {
        //if((D4-执行克隆参照进度值到进度值(公共).进度值计算公式 等于 向下计算参照值并赋值（只有O） or D4-执行克隆参照进度值到进度值(公共).进度值计算公式 等于 向下计算参照值并赋值（O加KR）) and D4-执行克隆参照进度值到进度值(公共).参照进度值 值不等于空 )  39843

UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setProgressValue(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:893606_1_39844
unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959049_1_39844
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:893235_1_39844
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:893236_1_39844
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:893237_1_39844
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:893242_1_39844
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:893238_1_39844
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082705_1_39844
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:893239_1_39844
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-执行克隆参照进度值到进度值(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行克隆参照进度值到进度值(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-执行克隆参照进度值到进度值(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-执行克隆参照进度值到进度值(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-执行克隆参照进度值到进度值(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行克隆参照进度值到进度值(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("PROGRESS_VALUE");//sourceId:893245_1_39845
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_PROGRESS_VALUE");//sourceId:893246_1_39845
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("PROGRESS_FROM_LAST_RATIO");//sourceId:893247_1_39845
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:893251_1_39845
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:893252_1_39845
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:893243_1_39845
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:893244_1_39845
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:893248_1_39845
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:893250_1_39845
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:893249_1_39845
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行克隆参照进度值到进度值(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



      }
ImplementProgressValueCloneCountProgressComRespDto retData = new ImplementProgressValueCloneCountProgressComRespDto();





return retData;
  }
/**
   * D4-执行计算下级数据点之和(公共)[6480]
   * gen by moon at 6/15/2023, 5:23:10 PM
   */
  @Trace(operationName = "D4-执行计算下级数据点之和(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementCalcLowerLevelCountComRespDto implementCalcLowerLevelCountCom(ImplementCalcLowerLevelCountComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage D4-查下级标准数据及权重列表  39873
      QueryPrepareForLowWeightAndDataListComRespDto queryPrepareForLowWeightAndDataListComRespDto = null;
    QueryPrepareForLowWeightAndDataListComReqDto queryPrepareForLowWeightAndDataListComReqDto=new QueryPrepareForLowWeightAndDataListComReqDto();
  if(reqDto!=null){
      queryPrepareForLowWeightAndDataListComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:893887_1_39873
queryPrepareForLowWeightAndDataListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:893888_1_39873
queryPrepareForLowWeightAndDataListComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042267_1_39873
queryPrepareForLowWeightAndDataListComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:893893_1_39873
queryPrepareForLowWeightAndDataListComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:893890_1_39873
queryPrepareForLowWeightAndDataListComReqDto.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:893892_1_39873
queryPrepareForLowWeightAndDataListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:893889_1_39873
    }

    /*D4-查下级标准数据及权重列表[5794]   */
    Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getEvaObjTargetCycleId(),"D4-执行计算下级数据点之和(公共)-D4-查下级标准数据及权重列表-被评对象目标周期ID不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getCycleId(),"D4-执行计算下级数据点之和(公共)-D4-查下级标准数据及权重列表-周期ID不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getParentSubMidCycleType(),"D4-执行计算下级数据点之和(公共)-D4-查下级标准数据及权重列表-父子中周期类型不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getDataType(),"D4-执行计算下级数据点之和(公共)-D4-查下级标准数据及权重列表-数据点类型不能为空",false);
Assert.isNull(queryPrepareForLowWeightAndDataListComReqDto.getEvaluationTemplateId(),"D4-执行计算下级数据点之和(公共)-D4-查下级标准数据及权重列表-冗余评价模板ID不能为空",false);
      queryPrepareForLowWeightAndDataListComRespDto = standardDataService.queryPrepareForLowWeightAndDataListCom(queryPrepareForLowWeightAndDataListComReqDto)/*vcase invoke isSameApp*/;



if((queryPrepareForLowWeightAndDataListComRespDto!= null&&  queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList() !=null && queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList().size()>0)) {
        //if(D4-查下级标准数据列表.下级权重及标准数据列表数据集条数 大于 0)  39875

ImplementCalcServiceCollectionOfMultipleNumComRespDto implementCalcServiceCollectionOfMultipleNumComRespDto = null;
    if(queryPrepareForLowWeightAndDataListComRespDto !=null){
          ImplementCalcServiceCollectionOfMultipleNumComReqDto implementCalcServiceCollectionOfMultipleNumComReqDto=new ImplementCalcServiceCollectionOfMultipleNumComReqDto();
  implementCalcServiceCollectionOfMultipleNumComReqDto.setCalcFormula("SUM_OF_MULTIPLE_NUM");//sourceId:893895_1_39876
if(reqDto!=null){
      implementCalcServiceCollectionOfMultipleNumComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:893897_1_39876
implementCalcServiceCollectionOfMultipleNumComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:893898_1_39876
    }
if(queryPrepareForLowWeightAndDataListComRespDto!= null&&  queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList() !=null&& !CollectionUtil.isEmpty(queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList())){
      implementCalcServiceCollectionOfMultipleNumComReqDto.setDataSetsListOne(//objList-to-objLists
        queryPrepareForLowWeightAndDataListComRespDto.getPrepareForLowWeightAndDataList().stream().map(item -> {
      DataSetsListOneDto elm = new DataSetsListOneDto();
      if(item!=null){
      elm.setCommPrimaryKey(item.getEntityId());//SimpleFieldAssign//sourceId:191587_2_39876
elm.setCalcPara1(item.getDataResult());//SimpleFieldAssign//sourceId:191589_2_39876
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:893899_1_39876
    }

    /*D4-计算公式：数据集求和[5983]   */
    Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getCalcFormula(),"D4-执行计算下级数据点之和(公共)-D4-计算公式：数据集求和-通用计算公式不能为空",false);
      implementCalcServiceCollectionOfMultipleNumComRespDto = calculationRulesService.implementCalcServiceCollectionOfMultipleNumCom(implementCalcServiceCollectionOfMultipleNumComReqDto)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(implementCalcServiceCollectionOfMultipleNumComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(implementCalcServiceCollectionOfMultipleNumComRespDto!=null){
      receptionServiceReq.setComFloatField(implementCalcServiceCollectionOfMultipleNumComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:894116_1_39877
    }

    /*约定出参:下级数据之和[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getComFloatField(),"D4-执行计算下级数据点之和(公共)-约定出参:下级数据之和-通用数值字段（小数型）不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
ImplementCalcLowerLevelCountComRespDto retData = new ImplementCalcLowerLevelCountComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setComFloatField(receptionServiceRes_1.getComFloatField());//SimpleFieldAssign//sourceId:894118_1
    }




return retData;
  }
/**
   * D4-执行进度值向下计算(公共)[6489]
   * gen by moon at 7/10/2023, 12:55:14 AM
   */
  @Trace(operationName = "D4-执行进度值向下计算(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueDownClacComRespDto implementProgressValueDownClacCom(ImplementProgressValueDownClacComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getIsOkrPlanScene() !=null && reqDto.getIsOkrPlanScene().equals("OKR_PLAN_SCENE"))&&(reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR_COPY")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_KR")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_KR_COPY")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_ONLY_KR"))) {
        //if(D4-执行进度值向下计算(公共).冗余开启OKR场景 等于 OKR场景 and (D4-执行进度值向下计算(公共).进度值计算公式 等于 向下计算参照值不赋值（只有O） or D4-执行进度值向下计算(公共).进度值计算公式 等于 向下计算参照值并赋值（只有O） or D4-执行进度值向下计算(公共).进度值计算公式 等于 向下计算参照值不赋值（O加KR） or D4-执行进度值向下计算(公共).进度值计算公式 等于 向下计算参照值并赋值（O加KR） or D4-执行进度值向下计算(公共).进度值计算公式 等于 向下只计算KR))  46211

      ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto=new ImplementCalcLowerLevelComReqDto();
  implementCalcLowerLevelComReqDto.setDataType("PROGRESS_VALUE");//sourceId:897373_1_46215
if(reqDto!=null){
      implementCalcLowerLevelComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897366_1_46215
implementCalcLowerLevelComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897367_1_46215
implementCalcLowerLevelComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897369_1_46215
implementCalcLowerLevelComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897370_1_46215
implementCalcLowerLevelComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042289_1_46215
implementCalcLowerLevelComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:897372_1_46215
implementCalcLowerLevelComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897374_1_46215
implementCalcLowerLevelComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897371_1_46215
    }

    /*D4-执行计算下级O进度值[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDataType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-数据类型编码不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto)/*vcase invoke 同服务,同domain*/;



      ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto_2 = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto_1=new ImplementCalcLowerLevelComReqDto();
  implementCalcLowerLevelComReqDto_1.setDataType("PROGRESS_VALUE");//sourceId:897395_1_46216
if(reqDto!=null){
      implementCalcLowerLevelComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897388_1_46216
implementCalcLowerLevelComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897389_1_46216
implementCalcLowerLevelComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897391_1_46216
implementCalcLowerLevelComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897392_1_46216
implementCalcLowerLevelComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042290_1_46216
implementCalcLowerLevelComReqDto_1.setIndicatorKind(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:897394_1_46216
implementCalcLowerLevelComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897396_1_46216
implementCalcLowerLevelComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897393_1_46216
    }

    /*D4-执行计算下级KR进度值[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto_1.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto_2 = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto_1)/*vcase invoke 同服务,同domain*/;



      ImplementProgressValueDownCalcFormulaComRespDto implementProgressValueDownCalcFormulaComRespDto = null;
    if(implementCalcLowerLevelComRespDto !=null&&implementCalcLowerLevelComRespDto_2 !=null){
          ImplementProgressValueDownCalcFormulaComReqDto implementProgressValueDownCalcFormulaComReqDto=new ImplementProgressValueDownCalcFormulaComReqDto();
  if(reqDto!=null){
      implementProgressValueDownCalcFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897210_1_46217
implementProgressValueDownCalcFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897211_1_46217
implementProgressValueDownCalcFormulaComReqDto.setProgressValueCalcFormula(reqDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:897217_1_46217
implementProgressValueDownCalcFormulaComReqDto.setCountProObWeight(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:988058_1_46217
implementProgressValueDownCalcFormulaComReqDto.setCountProKrWeight(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:988059_1_46217
    }
if(implementCalcLowerLevelComRespDto!=null){
      implementProgressValueDownCalcFormulaComReqDto.setComFloatField1(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:897212_1_46217
    }
if(implementCalcLowerLevelComRespDto_2!=null){
      implementProgressValueDownCalcFormulaComReqDto.setComFloatField2(implementCalcLowerLevelComRespDto_2.getDataResult());//SimpleFieldAssign//sourceId:897214_1_46217
    }

    /*D4-执行进度值向下计算公式(公共)[6475]   */
Assert.isNull(implementProgressValueDownCalcFormulaComReqDto.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行进度值向下计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementProgressValueDownCalcFormulaComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行进度值向下计算公式(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementProgressValueDownCalcFormulaComReqDto.getProgressValueCalcFormula(),"D4-执行进度值向下计算(公共)-D4-执行进度值向下计算公式(公共)-进度值计算公式不能为空",false);
      implementProgressValueDownCalcFormulaComRespDto = implementProgressValueDownCalcFormulaCom(implementProgressValueDownCalcFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(implementProgressValueDownCalcFormulaComRespDto !=null&&implementProgressValueDownCalcFormulaComRespDto!= null&&  implementProgressValueDownCalcFormulaComRespDto.getComFloatField() !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(implementProgressValueDownCalcFormulaComRespDto!=null){
      unifiedRefreshStandardDataComReqDto.setCountProgressValue(implementProgressValueDownCalcFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:959557_1_46218
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959053_1_46218
unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897337_1_46218
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897338_1_46218
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897339_1_46218
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897344_1_46218
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083149_1_46218
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897340_1_46218
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897341_1_46218
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
      ImplementProgressValueCloneCountProgressComRespDto implementProgressValueCloneCountProgressComRespDto = null;
    if(implementProgressValueDownCalcFormulaComRespDto !=null&&implementProgressValueDownCalcFormulaComRespDto!= null&&  implementProgressValueDownCalcFormulaComRespDto.getComFloatField() !=null){
          ImplementProgressValueCloneCountProgressComReqDto implementProgressValueCloneCountProgressComReqDto=new ImplementProgressValueCloneCountProgressComReqDto();
  if(reqDto!=null){
      implementProgressValueCloneCountProgressComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897226_1_46220
implementProgressValueCloneCountProgressComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897227_1_46220
implementProgressValueCloneCountProgressComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959050_1_46220
implementProgressValueCloneCountProgressComReqDto.setProgressValueCalcFormula(reqDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:897218_1_46220
implementProgressValueCloneCountProgressComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897220_1_46220
implementProgressValueCloneCountProgressComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897221_1_46220
implementProgressValueCloneCountProgressComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897222_1_46220
implementProgressValueCloneCountProgressComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897224_1_46220
implementProgressValueCloneCountProgressComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083150_1_46220
implementProgressValueCloneCountProgressComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897223_1_46220
implementProgressValueCloneCountProgressComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897225_1_46220
    }
if(implementProgressValueDownCalcFormulaComRespDto!=null){
      implementProgressValueCloneCountProgressComReqDto.setComFloatField(implementProgressValueDownCalcFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:897219_1_46220
    }

    /*D4-执行克隆参照进度值到进度值(公共)[6478]   */
Assert.isNull(implementProgressValueCloneCountProgressComReqDto.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-小数点规则不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto.getCycleId(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-更新周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-冗余评价模板ID不能为空",false);
      implementProgressValueCloneCountProgressComRespDto = implementProgressValueCloneCountProgressCom(implementProgressValueCloneCountProgressComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&&  reqDto.getIsOkrPlanScene() !=null && reqDto.getIsOkrPlanScene().equals("NO_OKR_PLAN_SCENE"))&&(reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR_COPY"))){
       //elseif(D4-执行进度值向下计算(公共).冗余开启OKR场景 等于 无OKR场景 and (D4-执行进度值向下计算(公共).进度值计算公式 等于 向下计算参照值不赋值（只有O） or D4-执行进度值向下计算(公共).进度值计算公式 等于 向下计算参照值并赋值（只有O）))  46214

ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto_4 = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto_2=new ImplementCalcLowerLevelComReqDto();
  implementCalcLowerLevelComReqDto_2.setDataType("PROGRESS_VALUE");//sourceId:897373_1_46221
if(reqDto!=null){
      implementCalcLowerLevelComReqDto_2.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897366_1_46221
implementCalcLowerLevelComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897367_1_46221
implementCalcLowerLevelComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897369_1_46221
implementCalcLowerLevelComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897370_1_46221
implementCalcLowerLevelComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042289_1_46221
implementCalcLowerLevelComReqDto_2.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:897372_1_46221
implementCalcLowerLevelComReqDto_2.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897374_1_46221
implementCalcLowerLevelComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897371_1_46221
    }

    /*D4-执行计算下级O进度值[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto_2.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_2.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_2.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_2.getCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_2.getDataType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-数据类型编码不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_2.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_2.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto_4 = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto_2)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_1 = null;
    if(implementCalcLowerLevelComRespDto_4 !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_1=new UnifiedRefreshStandardDataComReqDto();
  if(implementCalcLowerLevelComRespDto_4!=null){
      unifiedRefreshStandardDataComReqDto_1.setCountProgressValue(implementCalcLowerLevelComRespDto_4.getDataResult());//SimpleFieldAssign//sourceId:959557_1_46222
    }
if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959053_1_46222
unifiedRefreshStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897337_1_46222
unifiedRefreshStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897338_1_46222
unifiedRefreshStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897339_1_46222
unifiedRefreshStandardDataComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897344_1_46222
unifiedRefreshStandardDataComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083149_1_46222
unifiedRefreshStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897340_1_46222
unifiedRefreshStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897341_1_46222
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getStandardDataCalcCycleModel(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_1 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



           }
ImplementProgressValueCloneCountProgressComRespDto implementProgressValueCloneCountProgressComRespDto_1 = null;
    if(implementCalcLowerLevelComRespDto_4 !=null){
          ImplementProgressValueCloneCountProgressComReqDto implementProgressValueCloneCountProgressComReqDto_1=new ImplementProgressValueCloneCountProgressComReqDto();
  if(reqDto!=null){
      implementProgressValueCloneCountProgressComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897226_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897227_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959050_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setProgressValueCalcFormula(reqDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:897218_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897220_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897221_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897222_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897224_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083150_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897223_1_46224
implementProgressValueCloneCountProgressComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897225_1_46224
    }
if(implementCalcLowerLevelComRespDto_4!=null){
      implementProgressValueCloneCountProgressComReqDto_1.setComFloatField(implementCalcLowerLevelComRespDto_4.getDataResult());//SimpleFieldAssign//sourceId:897219_1_46224
    }

    /*D4-执行克隆参照进度值到进度值(公共)[6478]   */
    Assert.isNull(implementProgressValueCloneCountProgressComReqDto_1.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-小数点规则不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto_1.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto_1.getStandardDataCalcCycleModel(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto_1.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto_1.getCycleId(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto_1.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-更新周期ID不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto_1.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementProgressValueCloneCountProgressComReqDto_1.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-执行克隆参照进度值到进度值(公共)-冗余评价模板ID不能为空",false);
      implementProgressValueCloneCountProgressComRespDto_1 = implementProgressValueCloneCountProgressCom(implementProgressValueCloneCountProgressComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
    }
if((reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_PROGRESS"))) {
        //if(D4-执行进度值向下计算(公共).进度值计算公式 等于 只向下计算进度值)  45884

ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto_5 = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto_3=new ImplementCalcLowerLevelComReqDto();
  implementCalcLowerLevelComReqDto_3.setDataType("PROGRESS_VALUE");//sourceId:897373_1_46225
if(reqDto!=null){
      implementCalcLowerLevelComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897366_1_46225
implementCalcLowerLevelComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897367_1_46225
implementCalcLowerLevelComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897369_1_46225
implementCalcLowerLevelComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897370_1_46225
implementCalcLowerLevelComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042289_1_46225
implementCalcLowerLevelComReqDto_3.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:897372_1_46225
implementCalcLowerLevelComReqDto_3.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897374_1_46225
implementCalcLowerLevelComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897371_1_46225
    }

    /*D4-执行计算下级O进度值[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto_3.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_3.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_3.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_3.getCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_3.getDataType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-数据类型编码不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_3.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_3.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto_5 = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto_3)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_2 = null;
    if(implementCalcLowerLevelComRespDto_5 !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_2=new UnifiedRefreshStandardDataComReqDto();
  if(implementCalcLowerLevelComRespDto_5!=null){
      unifiedRefreshStandardDataComReqDto_2.setProgressValue(implementCalcLowerLevelComRespDto_5.getDataResult());//SimpleFieldAssign//sourceId:1051518_1_45885
    }
if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_2.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959053_1_45885
unifiedRefreshStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897337_1_45885
unifiedRefreshStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897338_1_45885
unifiedRefreshStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897339_1_45885
unifiedRefreshStandardDataComReqDto_2.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897344_1_45885
unifiedRefreshStandardDataComReqDto_2.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083149_1_45885
unifiedRefreshStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897340_1_45885
unifiedRefreshStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897341_1_45885
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getStandardDataCalcCycleModel(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_2 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("PROGRESS_VALUE");//sourceId:897349_1_46226
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_PROGRESS_VALUE");//sourceId:897350_1_46226
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("PROGRESS_FROM_LAST_RATIO");//sourceId:897351_1_46226
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897355_1_46226
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897356_1_46226
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897347_1_46226
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897348_1_46226
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897352_1_46226
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897354_1_46226
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897353_1_46226
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
ImplementProgressValueDownClacComRespDto retData = new ImplementProgressValueDownClacComRespDto();





return retData;
  }
/**
   * D4-执行实际值向下计算(公共)[6490]
   * gen by moon at 3/16/2024, 2:43:52 PM
   */
  @Trace(operationName = "D4-执行实际值向下计算(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueDownClacComRespDto implementActualValueDownClacCom(ImplementActualValueDownClacComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getActualValueCalcFormula() !=null && reqDto.getActualValueCalcFormula().equals("DOWNWARD_CALCULATION_SUM")||reqDto!= null&&  reqDto.getActualValueCalcFormula() !=null && reqDto.getActualValueCalcFormula().equals("DOWNWARD_CALCULATION_SUM_COPY"))) {
        //if((D4-执行实际值向下计算(公共).实际值计算公式 等于 向下计算参照值不赋值（求和） or D4-执行实际值向下计算(公共).实际值计算公式 等于 向下计算参照值并赋值（求和）))  40113

ImplementCalcLowerLevelCountComRespDto implementCalcLowerLevelCountComRespDto = null;
    ImplementCalcLowerLevelCountComReqDto implementCalcLowerLevelCountComReqDto=new ImplementCalcLowerLevelCountComReqDto();
  implementCalcLowerLevelCountComReqDto.setIndicatorKind("OBJECTIVES");//sourceId:897984_1_40117
implementCalcLowerLevelCountComReqDto.setDataType("ACTUAL_VALUE");//sourceId:897985_1_40117
if(reqDto!=null){
      implementCalcLowerLevelCountComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897980_1_40117
implementCalcLowerLevelCountComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897981_1_40117
implementCalcLowerLevelCountComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897982_1_40117
implementCalcLowerLevelCountComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897983_1_40117
implementCalcLowerLevelCountComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042269_1_40117
implementCalcLowerLevelCountComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897986_1_40117
implementCalcLowerLevelCountComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897987_1_40117
    }

    /*D4-执行计算下级数据点之和(公共)[6480]   */
    Assert.isNull(implementCalcLowerLevelCountComReqDto.getDecimalPointRules(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelCountComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelCountComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelCountComReqDto.getCycleId(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelCountComReqDto.getUpdateCycleId(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-更新周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelCountComReqDto.getIndicatorKind(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-OKR目标属性不能为空",false);
Assert.isNull(implementCalcLowerLevelCountComReqDto.getDataType(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-数据点类型不能为空",false);
Assert.isNull(implementCalcLowerLevelCountComReqDto.getParentSubMidCycleType(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelCountComReqDto.getEvaluationTemplateId(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点之和(公共)-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelCountComRespDto = implementCalcLowerLevelCountCom(implementCalcLowerLevelCountComReqDto)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(implementCalcLowerLevelCountComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(implementCalcLowerLevelCountComRespDto!=null){
      unifiedRefreshStandardDataComReqDto.setCountActualValue(implementCalcLowerLevelCountComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:959552_1_40122
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897910_1_40122
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897911_1_40122
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897912_1_40122
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897913_1_40122
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083139_1_40122
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897917_1_40122
unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959033_1_40122
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897914_1_40122
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
ImplementActualValueCloneCountProgressComRespDto implementActualValueCloneCountProgressComRespDto = null;
    if(implementCalcLowerLevelCountComRespDto !=null){
          ImplementActualValueCloneCountProgressComReqDto implementActualValueCloneCountProgressComReqDto=new ImplementActualValueCloneCountProgressComReqDto();
  if(reqDto!=null){
      implementActualValueCloneCountProgressComReqDto.setActualValueCalcFormula(reqDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:897930_1_40124
implementActualValueCloneCountProgressComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897932_1_40124
implementActualValueCloneCountProgressComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897933_1_40124
implementActualValueCloneCountProgressComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897934_1_40124
implementActualValueCloneCountProgressComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897936_1_40124
implementActualValueCloneCountProgressComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959039_1_40124
implementActualValueCloneCountProgressComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083140_1_40124
implementActualValueCloneCountProgressComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897937_1_40124
implementActualValueCloneCountProgressComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897938_1_40124
implementActualValueCloneCountProgressComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897939_1_40124
    }
if(implementCalcLowerLevelCountComRespDto!=null){
      implementActualValueCloneCountProgressComReqDto.setComFloatField(implementCalcLowerLevelCountComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:898039_1_40124
    }

    /*D4-执行克隆参照实际值到实际值(公共)[6479]   */
    Assert.isNull(implementActualValueCloneCountProgressComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto.getCycleId(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-周期ID不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto.getUpdateCycleId(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-更新周期ID不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto.getParentSubMidCycleType(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto.getStandardDataCalcCycleModel(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto.getEvaluationTemplateId(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto.getDecimalPointRules(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-小数点规则不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-小数最后一位规则不能为空",false);
      implementActualValueCloneCountProgressComRespDto = implementActualValueCloneCountProgressCom(implementActualValueCloneCountProgressComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&&  reqDto.getActualValueCalcFormula() !=null && reqDto.getActualValueCalcFormula().equals("DOWNWARD_CALCULATION_WEIGHT")||reqDto!= null&&  reqDto.getActualValueCalcFormula() !=null && reqDto.getActualValueCalcFormula().equals("DOWNWARD_CALCULATION_WEIGHT_COPY"))){
       //elseif((D4-执行实际值向下计算(公共).实际值计算公式 等于 向下计算参照值不赋值（权重求和） or D4-执行实际值向下计算(公共).实际值计算公式 等于 向下计算参照值并赋值（权重求和）))  40116

ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto=new ImplementCalcLowerLevelComReqDto();
  implementCalcLowerLevelComReqDto.setIndicatorKind("OBJECTIVES");//sourceId:897976_1_40118
implementCalcLowerLevelComReqDto.setDataType("ACTUAL_VALUE");//sourceId:897977_1_40118
if(reqDto!=null){
      implementCalcLowerLevelComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897970_1_40118
implementCalcLowerLevelComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897971_1_40118
implementCalcLowerLevelComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897973_1_40118
implementCalcLowerLevelComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897974_1_40118
implementCalcLowerLevelComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1042275_1_40118
implementCalcLowerLevelComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897978_1_40118
implementCalcLowerLevelComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897975_1_40118
    }

    /*D4-执行计算下级数据点权重和(公共)[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalPointRules(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点权重和(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点权重和(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点权重和(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getCycleId(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点权重和(公共)-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getIndicatorKind(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点权重和(公共)-OKR目标属性不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDataType(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点权重和(公共)-数据点类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getParentSubMidCycleType(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点权重和(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaluationTemplateId(),"D4-执行实际值向下计算(公共)-D4-执行计算下级数据点权重和(公共)-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_1 = null;
    if(implementCalcLowerLevelComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_1=new UnifiedRefreshStandardDataComReqDto();
  if(implementCalcLowerLevelComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setCountActualValue(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:959552_1_40125
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897910_1_40125
unifiedRefreshStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897911_1_40125
unifiedRefreshStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897912_1_40125
unifiedRefreshStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897913_1_40125
unifiedRefreshStandardDataComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083139_1_40125
unifiedRefreshStandardDataComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897917_1_40125
unifiedRefreshStandardDataComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959033_1_40125
unifiedRefreshStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897914_1_40125
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getCycleId(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getUpdateCycleId(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getParentSubMidCycleType(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getStandardDataCalcCycleModel(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-执行实际值向下计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_1 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



           }
ImplementActualValueCloneCountProgressComRespDto implementActualValueCloneCountProgressComRespDto_1 = null;
    if(implementCalcLowerLevelComRespDto !=null){
          ImplementActualValueCloneCountProgressComReqDto implementActualValueCloneCountProgressComReqDto_1=new ImplementActualValueCloneCountProgressComReqDto();
  if(reqDto!=null){
      implementActualValueCloneCountProgressComReqDto_1.setActualValueCalcFormula(reqDto.getActualValueCalcFormula());//SimpleFieldAssign//sourceId:897930_1_40127
implementActualValueCloneCountProgressComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897932_1_40127
implementActualValueCloneCountProgressComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897933_1_40127
implementActualValueCloneCountProgressComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897934_1_40127
implementActualValueCloneCountProgressComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:897936_1_40127
implementActualValueCloneCountProgressComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959039_1_40127
implementActualValueCloneCountProgressComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083140_1_40127
implementActualValueCloneCountProgressComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897937_1_40127
implementActualValueCloneCountProgressComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897938_1_40127
implementActualValueCloneCountProgressComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897939_1_40127
    }
if(implementCalcLowerLevelComRespDto!=null){
      implementActualValueCloneCountProgressComReqDto_1.setComFloatField(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:898039_1_40127
    }

    /*D4-执行克隆参照实际值到实际值(公共)[6479]   */
    Assert.isNull(implementActualValueCloneCountProgressComReqDto_1.getEvaObjTargetCycleId(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto_1.getCycleId(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-周期ID不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto_1.getUpdateCycleId(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-更新周期ID不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto_1.getParentSubMidCycleType(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto_1.getStandardDataCalcCycleModel(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto_1.getEvaluationTemplateId(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto_1.getDecimalPointRules(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-小数点规则不能为空",false);
Assert.isNull(implementActualValueCloneCountProgressComReqDto_1.getDecimalDigitsLastRules(),"D4-执行实际值向下计算(公共)-D4-执行克隆参照实际值到实际值(公共)-小数最后一位规则不能为空",false);
      implementActualValueCloneCountProgressComRespDto_1 = implementActualValueCloneCountProgressCom(implementActualValueCloneCountProgressComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
    }
ImplementActualValueDownClacComRespDto retData = new ImplementActualValueDownClacComRespDto();





return retData;
  }
/**
   * D4-执行实际值克隆其他树(公共)[6491]
   * gen by moon at 1/5/2024, 4:23:42 AM
   */
  @Trace(operationName = "D4-执行实际值克隆其他树(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualValueCloneOtherTreeComRespDto implementActualValueCloneOtherTreeCom(ImplementActualValueCloneOtherTreeComReqDto reqDto){


      //virtualUsage 4-01-01查标准数据详情  42247
OmsStandardDataResult omsStandardDataResult = null;
          QueryStandardDataDetailReq queryStandardDataDetailReq=new QueryStandardDataDetailReq();
if(reqDto!=null){
      queryStandardDataDetailReq.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:959607_1_42247
queryStandardDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:959608_1_42247
    }

    /*4-01-01查标准数据详情[2696]   */
    Assert.isNull(queryStandardDataDetailReq.getDataResultId(),"D4-执行实际值克隆其他树(公共)-4-01-01查标准数据详情-数据结果ID 不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentId(),"D4-执行实际值克隆其他树(公共)-4-01-01查标准数据详情-主题内容ID不能为空",false);
      omsStandardDataResult = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((omsStandardDataResult != null )) {
        //if(4-01-01查标准数据详情【查克隆源头数据是否存在】.出参 值不等于空 )  40092

RefreshStandardDataComRespDto refreshStandardDataComRespDto = null;
    if(omsStandardDataResult !=null){
          RefreshStandardDataComReqDto refreshStandardDataComReqDto=new RefreshStandardDataComReqDto();
  refreshStandardDataComReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:959627_1_42248
refreshStandardDataComReqDto.setFromContentTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:959628_1_42248
refreshStandardDataComReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1239325_1_42248
refreshStandardDataComReqDto.setDataType("ACTUAL_VALUE");//sourceId:959619_1_42248
refreshStandardDataComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:959630_1_42248
refreshStandardDataComReqDto.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:959633_1_42248
refreshStandardDataComReqDto.setCalcStartTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1239326_1_42248
  if(reqDto!=null){
      refreshStandardDataComReqDto.setEntityId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:959620_1_42248
refreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:959635_1_42248
refreshStandardDataComReqDto.setPeriodId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:959614_1_42248
refreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:959636_1_42248
refreshStandardDataComReqDto.setWorkCycleUpdateSlice(reqDto.getWorkCycleUpdateSlice());//SimpleFieldAssign//sourceId:959641_1_42248
refreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083937_1_42248
//refreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:959639_1_42248
refreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959642_1_42248
refreshStandardDataComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:959634_1_42248
    }
if(omsStandardDataResult!=null){
      refreshStandardDataComReqDto.setFromContentEntityId(omsStandardDataResult.getFromContentEntityId());//SimpleFieldAssign//sourceId:959621_1_42248
refreshStandardDataComReqDto.setDataResult(omsStandardDataResult.getDataResult());//SimpleFieldAssign//sourceId:959609_1_42248
refreshStandardDataComReqDto.setUnit(omsStandardDataResult.getUnit());//SimpleFieldAssign//sourceId:959613_1_42248
refreshStandardDataComReqDto.setResultType(omsStandardDataResult.getResultType());//SimpleFieldAssign//sourceId:959610_1_42248
refreshStandardDataComReqDto.setUpdateCycleStartTime(omsStandardDataResult.getUpdateCycleStartTime());//SimpleFieldAssign//sourceId:1082080_1_42248
refreshStandardDataComReqDto.setUpdateCycleEndTime(omsStandardDataResult.getUpdateCycleEndTime());//SimpleFieldAssign//sourceId:1082081_1_42248
refreshStandardDataComReqDto.setUpdateCycleTypeCode(omsStandardDataResult.getUpdateCycleTypeCode());//SimpleFieldAssign//sourceId:959640_1_42248
refreshStandardDataComReqDto.setCycleStartTime(omsStandardDataResult.getCycleStartTime());//SimpleFieldAssign//sourceId:959615_1_42248
refreshStandardDataComReqDto.setCycleEndTime(omsStandardDataResult.getCycleEndTime());//SimpleFieldAssign//sourceId:959616_1_42248
refreshStandardDataComReqDto.setCycleTypeCode(omsStandardDataResult.getCycleTypeCode());//SimpleFieldAssign//sourceId:959618_1_42248
refreshStandardDataComReqDto.setCycleTypeInstanceCode(omsStandardDataResult.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:959617_1_42248
refreshStandardDataComReqDto.setPersonLiableObjId(omsStandardDataResult.getPersonLiableObjId());//SimpleFieldAssign//sourceId:959622_1_42248
refreshStandardDataComReqDto.setPersonLiableTypeCode(omsStandardDataResult.getPersonLiableTypeCode());//SimpleFieldAssign//sourceId:959626_1_42248
refreshStandardDataComReqDto.setBizRoleObjId(omsStandardDataResult.getBizRoleObjId());//SimpleFieldAssign//sourceId:959623_1_42248
refreshStandardDataComReqDto.setBizRoleObjCode(omsStandardDataResult.getBizRoleObjCode());//SimpleFieldAssign//sourceId:959624_1_42248
refreshStandardDataComReqDto.setBizRoleObjName(omsStandardDataResult.getBizRoleObjName());//SimpleFieldAssign//sourceId:959625_1_42248
refreshStandardDataComReqDto.setBelongToContentTypeCode(omsStandardDataResult.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:959631_1_42248
refreshStandardDataComReqDto.setBelongToContentId(omsStandardDataResult.getBelongToContentId());//SimpleFieldAssign//sourceId:959632_1_42248
refreshStandardDataComReqDto.setCategoryContentTypeCode(omsStandardDataResult.getExtendedField1());//SimpleFieldAssign//sourceId:959743_1_42248
refreshStandardDataComReqDto.setTopTargetCategoryID(omsStandardDataResult.getExtendedField2());//SimpleFieldAssign//sourceId:959744_1_42248
    }

    /*D4-1更新标准数据(公共)[3189]   */
    Assert.isNull(refreshStandardDataComReqDto.getEntityId(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getTableTypeCode(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-归属内容表类型编码不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getDataResult(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-数据值结果不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getResultType(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-结果产生类型 不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getDataUsageSceneCode(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-数据业务场景不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getDataType(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-数据点类型不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getPeriodId(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getCycleStartTime(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-周期开始时间不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getCycleEndTime(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-周期结束时间不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getCycleTypeCode(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-周期类型标识不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getSubjectLifeCycle(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-主体生命周期不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getThemeContentTypeCode(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-主题内容类型编码不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getThemeContentId(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-主题内容ID不能为空",false);
Assert.isNull(refreshStandardDataComReqDto.getCalcStartTime(),"D4-执行实际值克隆其他树(公共)-D4-1更新标准数据(公共)-计算开始时间不能为空",false);
      refreshStandardDataComRespDto = standardDataService.refreshStandardDataCom(refreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("ACTUAL_VALUE");//sourceId:897608_1_42250
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("CHANGE_FROM_LAST_TARGET");//sourceId:897609_1_42250
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_TARGET_LIFT_RATIO");//sourceId:897610_1_42250
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:897614_1_42250
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:897615_1_42250
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:897606_1_42250
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:897607_1_42250
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:897611_1_42250
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:897613_1_42250
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:897612_1_42250
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行实际值克隆其他树(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



      }
ImplementActualValueCloneOtherTreeComRespDto retData = new ImplementActualValueCloneOtherTreeComRespDto();





return retData;
  }
/**
   * D4-查询来源树实际得分数据详情(公共)[6492]
   * gen by moon at 7/11/2023, 3:48:09 PM
   */
  @Trace(operationName = "D4-查询来源树实际得分数据详情(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QuerySourceTreeActualScoreDataDetailComRespDto querySourceTreeActualScoreDataDetailCom(QuerySourceTreeActualScoreDataDetailComReqDto reqDto){


      OmsStandardDataResult omsStandardDataResult_3 =null;
AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage 4-01-01查标准数据详情（根据数据结果ID查询）  40137
      OmsStandardDataResult omsStandardDataResult = null;
    QueryStandardDataDetailReq queryStandardDataDetailReq=new QueryStandardDataDetailReq();
  if(reqDto!=null){
      queryStandardDataDetailReq.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:898357_1_40137
queryStandardDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898358_1_40137
    }

    /*4-01-01查标准数据详情（根据数据结果ID查询）[2696]   */
    Assert.isNull(queryStandardDataDetailReq.getDataResultId(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（根据数据结果ID查询）-数据结果ID 不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentId(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（根据数据结果ID查询）-主题内容ID不能为空",false);
      omsStandardDataResult = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((omsStandardDataResult != null )) {
        //if(4-01-01查标准数据详情（根据数据结果ID查询）.出参 值不等于空 )  40138

OmsStandardDataResult omsStandardDataResult_2 = null;
    if(omsStandardDataResult !=null){
          QueryStandardDataDetailReq queryStandardDataDetailReq_1=new QueryStandardDataDetailReq();
  queryStandardDataDetailReq_1.setDataType("ACTUAL_SCORE");//sourceId:898371_1_40139
queryStandardDataDetailReq_1.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077370_1_40139
queryStandardDataDetailReq_1.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:898372_1_40139
queryStandardDataDetailReq_1.setIsArchive("FALSE");//sourceId:898376_1_40139
queryStandardDataDetailReq_1.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:898377_1_40139
if(omsStandardDataResult!=null){
      queryStandardDataDetailReq_1.setPeriodId(omsStandardDataResult.getPeriodId());//SimpleFieldAssign//sourceId:898370_1_40139
queryStandardDataDetailReq_1.setEntityId(omsStandardDataResult.getEntityId());//SimpleFieldAssign//sourceId:898373_1_40139
//queryStandardDataDetailReq_1.setUpdateBatch(omsStandardDataResult.getUpdateBatch());//SimpleFieldAssign//sourceId:898379_1_40139
queryStandardDataDetailReq_1.setThemeContentId(omsStandardDataResult.getThemeContentId());//SimpleFieldAssign//sourceId:898378_1_40139
    }

    /*4-01-01查标准数据详情（来源树实际得分）[2696]   */
    Assert.isNull(queryStandardDataDetailReq_1.getPeriodId(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（来源树实际得分）-周期ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getEntityId(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（来源树实际得分）-归属内容表主键ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getDataType(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（来源树实际得分）-数据点类型不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getDataUsageSceneCode(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（来源树实际得分）-数据业务场景不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getTableTypeCode(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（来源树实际得分）-归属内容表类型编码不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getIsArchive(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（来源树实际得分）-是否存档不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getThemeContentTypeCode(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（来源树实际得分）-主题内容类型编码不能为空",false);
Assert.isNull(queryStandardDataDetailReq_1.getThemeContentId(),"D4-查询来源树实际得分数据详情(公共)-4-01-01查标准数据详情（来源树实际得分）-主题内容ID不能为空",false);
      omsStandardDataResult_2 = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;


      omsStandardDataResult_3 = omsStandardDataResult_2;
           }
if((omsStandardDataResult_2 != null )) {
        //if(4-01-01查标准数据详情（来源树实际得分）.出参 值不等于空 )  47452

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    if(omsStandardDataResult_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:1084942_1_47453
if(omsStandardDataResult_2!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(omsStandardDataResult_2.getDataResult());//SimpleFieldAssign//sourceId:1084944_1_47453
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getCustomField1()!=null?Double.valueOf(reqDto.getCustomField1()):null);//SimpleFieldAssign//sourceId:1084945_1_47453
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1084948_1_47453
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1084949_1_47453
    }

    /*M4-计算公式：两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-查询来源树实际得分数据详情(公共)-M4-计算公式：两数相除-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    if(calculateCalcServiceCollectionComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:1084952_1_47454
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:1084954_1_47454
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getCustomField2()!=null?Double.valueOf(reqDto.getCustomField2()):null);//SimpleFieldAssign//sourceId:1084955_1_47454
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1084958_1_47454
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1084959_1_47454
    }

    /*M4-计算公式：两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-查询来源树实际得分数据详情(公共)-M4-计算公式：两数相乘-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_2 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_2!=null){
      receptionServiceReq.setActualScoreValue(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:1085109_1_47455
    }

    /*约定出参：实际得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
      }
QuerySourceTreeActualScoreDataDetailComRespDto retData = new QuerySourceTreeActualScoreDataDetailComRespDto();
  if(omsStandardDataResult_3!=null){
      retData.setDataResultId(omsStandardDataResult_3.getDataResultId());//SimpleFieldAssign//sourceId:898381_1
    }
if(receptionServiceRes_1!=null){
      retData.setActualScoreValue(receptionServiceRes_1.getActualScoreValue());//SimpleFieldAssign//sourceId:1085118_1
    }




return retData;
  }
/**
   * D4-执行中期过程汇报得分计算公式(公共)[6470]
   * gen by moon at 6/29/2023, 5:45:00 PM
   */
  @Trace(operationName = "D4-执行中期过程汇报得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementMidCycleProcessReportScoreFormulaComRespDto implementMidCycleProcessReportScoreFormulaCom(ImplementMidCycleProcessReportScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("OKR")&&reqDto!= null&& reqDto.getComFloatField1() != null )) {
        //if((D4-执行中期过程汇报得分计算公式(公共).是否开启KR 等于 开启KR and D4-执行中期过程汇报得分计算公式(公共).下级KR得分 值不等于空 ))  39763

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:891756_1_39773
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891762_1_39773
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:891758_1_39773
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:891759_1_39773
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891763_1_39773
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行中期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:891756_1_39767
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:891758_1_39767
calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:891759_1_39767
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891762_1_39767
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891763_1_39767
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行中期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:891776_1_39768
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891782_1_39768
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:891778_1_39768
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:891779_1_39768
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891783_1_39768
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行中期过程汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:891766_1_39769
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:891769_1_39769
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:891768_1_39769
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:891772_1_39769
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891773_1_39769
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行中期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq.setComFloatField(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:891731_1_39770
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("NO_KR"))){
       //elseif(D4-执行中期过程汇报得分计算公式(公共).开启或不开启KR 等于 未开启KR)  39764

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_1.setComFloatField(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:891731_1_39772
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
    }
ImplementMidCycleProcessReportScoreFormulaComRespDto retData = new ImplementMidCycleProcessReportScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setComFloatField(receptionServiceRes_1.getComFloatField());//SimpleFieldAssign//sourceId:892182_1
    }




return retData;
  }
/**
   * D4-执行子周期过程汇报得分计算公式(公共)[6469]
   * gen by moon at 6/29/2023, 5:44:53 PM
   */
  @Trace(operationName = "D4-执行子周期过程汇报得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementSubCycleProcessReportScoreFormulaComRespDto implementSubCycleProcessReportScoreFormulaCom(ImplementSubCycleProcessReportScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage D4-计算公式=两数相乘  39718
      CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:891346_1_39718
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891352_1_39718
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:891348_1_39718
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:891349_1_39718
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891353_1_39718
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("OKR"))&&(reqDto!= null&& reqDto.getComFloatField2() != null ||reqDto!= null&& reqDto.getComFloatField() != null )) {
        //if(D4-执行子周期过程汇报得分计算公式(公共).是否开启KR 等于 开启KR and (D4-执行子周期过程汇报得分计算公式(公共).下级KR得分 值不等于空  or D4-执行子周期过程汇报得分计算公式(公共).过程中期汇报得分 值不等于空 ))  39710

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:891346_1_39719
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:891348_1_39719
calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:891349_1_39719
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891352_1_39719
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891353_1_39719
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:891356_1_39721
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891362_1_39721
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:891358_1_39721
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:891359_1_39721
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891363_1_39721
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
if((reqDto!= null&&  reqDto.getOpenOrCloseMidProcess() !=null && reqDto.getOpenOrCloseMidProcess().equals("TRUE")&&reqDto!= null&& reqDto.getComFloatField() != null )) {
        //if((D4-执行子周期过程汇报得分计算公式(公共).开启或不开启过程中期 等于 是 and D4-执行子周期过程汇报得分计算公式(公共).过程中期汇报得分 值不等于空 ))  39714

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:891346_1_39720
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:891348_1_39720
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(reqDto.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:891349_1_39720
calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891352_1_39720
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891353_1_39720
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalPointRules(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalDigitsLastRules(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_6 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null&&calculateCalcServiceCollectionComRespDto_5 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_4=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_4.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:891356_1_39722
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_4.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:891358_1_39722
    }
if(calculateCalcServiceCollectionComRespDto_5!=null){
      calculateCalcServiceCollectionComReqDto_4.setCalcPara2(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:891359_1_39722
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_4.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891362_1_39722
calculateCalcServiceCollectionComReqDto_4.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891363_1_39722
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_4.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_6 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_4)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_7 = null;
    if(calculateCalcServiceCollectionComRespDto_6 !=null){
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_5=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_5.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:891367_1_39723
calculateCalcServiceCollectionComReqDto_5.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:891370_1_39723
if(calculateCalcServiceCollectionComRespDto_6!=null){
      calculateCalcServiceCollectionComReqDto_5.setCalcPara1(calculateCalcServiceCollectionComRespDto_6.getCalcResult());//SimpleFieldAssign//sourceId:891369_1_39723
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_5.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:891373_1_39723
calculateCalcServiceCollectionComReqDto_5.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891374_1_39723
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_5.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_7 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_5)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_7 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_7!=null){
      receptionServiceReq.setComFloatField(calculateCalcServiceCollectionComRespDto_7.getCalcResult());//SimpleFieldAssign//sourceId:891343_1_39724
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&& reqDto.getOpenOrCloseMidProcess() == null || (reqDto!= null&&  reqDto.getOpenOrCloseMidProcess() !=null && reqDto.getOpenOrCloseMidProcess().equals("FALSE")))){
       //elseif((D4-执行子周期过程汇报得分计算公式(公共).开启或不开启过程中期 值等于空  or D4-执行子周期过程汇报得分计算公式(公共).开启或不开启过程中期 等于 否))  39715

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_9 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_6=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_6.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:891367_1_39725
calculateCalcServiceCollectionComReqDto_6.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:891370_1_39725
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_6.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:891369_1_39725
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_6.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:891373_1_39725
calculateCalcServiceCollectionComReqDto_6.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891374_1_39725
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_6.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_9 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_6)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    if(calculateCalcServiceCollectionComRespDto_9 !=null){
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_9!=null){
      receptionServiceReq_1.setComFloatField(calculateCalcServiceCollectionComRespDto_9.getCalcResult());//SimpleFieldAssign//sourceId:891343_1_39726
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
    }
      }
      }
else if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("NO_KR"))){
       //elseif(D4-执行子周期过程汇报得分计算公式(公共).开启或不开启KR 等于 未开启KR)  39712

if((reqDto!= null&&  reqDto.getOpenOrCloseMidProcess() !=null && reqDto.getOpenOrCloseMidProcess().equals("TRUE")&&reqDto!= null&& reqDto.getComFloatField() != null )) {
        //if((D4-执行子周期过程汇报得分计算公式(公共).开启或不开启过程中期 等于 是 and D4-执行子周期过程汇报得分计算公式(公共).过程中期汇报得分 值不等于空 ))  39717

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_10 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_7=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_7.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:891346_1_39729
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_7.setCalcPara1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:891348_1_39729
calculateCalcServiceCollectionComReqDto_7.setCalcPara2(reqDto.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:891349_1_39729
calculateCalcServiceCollectionComReqDto_7.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891352_1_39729
calculateCalcServiceCollectionComReqDto_7.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891353_1_39729
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_7.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_7.getDecimalPointRules(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_7.getDecimalDigitsLastRules(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_10 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_7)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_11 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_10 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_8=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_8.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:891356_1_39730
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_8.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:891358_1_39730
    }
if(calculateCalcServiceCollectionComRespDto_10!=null){
      calculateCalcServiceCollectionComReqDto_8.setCalcPara2(calculateCalcServiceCollectionComRespDto_10.getCalcResult());//SimpleFieldAssign//sourceId:891359_1_39730
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_8.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891362_1_39730
calculateCalcServiceCollectionComReqDto_8.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891363_1_39730
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_8.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_11 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_8)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_12 = null;
    if(calculateCalcServiceCollectionComRespDto_11 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_9=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_9.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:891367_1_39731
calculateCalcServiceCollectionComReqDto_9.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:891370_1_39731
if(calculateCalcServiceCollectionComRespDto_11!=null){
      calculateCalcServiceCollectionComReqDto_9.setCalcPara1(calculateCalcServiceCollectionComRespDto_11.getCalcResult());//SimpleFieldAssign//sourceId:891369_1_39731
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_9.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:891373_1_39731
calculateCalcServiceCollectionComReqDto_9.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891374_1_39731
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_9.getCalcFormula(),"D4-执行子周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_12 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_9)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_3 = null;
    if(calculateCalcServiceCollectionComRespDto_12 !=null){
          AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_12!=null){
      receptionServiceReq_2.setComFloatField(calculateCalcServiceCollectionComRespDto_12.getCalcResult());//SimpleFieldAssign//sourceId:891343_1_39732
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_3 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
           }
      }
else if((reqDto!= null&& reqDto.getOpenOrCloseMidProcess() == null || (reqDto!= null&&  reqDto.getOpenOrCloseMidProcess() !=null && reqDto.getOpenOrCloseMidProcess().equals("FALSE")))){
       //elseif((D4-执行子周期过程汇报得分计算公式(公共).开启或不开启过程中期 值等于空  or D4-执行子周期过程汇报得分计算公式(公共).开启或不开启过程中期 等于 否))  39727

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_3.setComFloatField(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:891343_1_39728
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_3);


      receptionServiceRes_1 = receptionServiceRes_4;
    }
    }
ImplementSubCycleProcessReportScoreFormulaComRespDto retData = new ImplementSubCycleProcessReportScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setComFloatField(receptionServiceRes_1.getComFloatField());//SimpleFieldAssign//sourceId:891344_1
    }




return retData;
  }
/**
   * D4-执行父周期过程汇报得分计算公式(公共)[6466]
   * gen by moon at 6/29/2023, 5:44:45 PM
   */
  @Trace(operationName = "D4-执行父周期过程汇报得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementFatherProcessReportScoreFormulaComRespDto implementFatherProcessReportScoreFormulaCom(ImplementFatherProcessReportScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage D4-计算公式=两数相乘  39736
      CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:890659_1_39736
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890665_1_39736
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:890661_1_39736
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:890662_1_39736
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890666_1_39736
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("OKR"))&&(reqDto!= null&& reqDto.getComFloatField2() != null ||reqDto!= null&& reqDto.getOpenOrCloseMidCycle() != null )) {
        //if(D4-执行父周期过程汇报得分计算公式(公共).是否开启KR 等于 开启KR and (D4-执行父周期过程汇报得分计算公式(公共).下级KR得分 值不等于空  or D4-执行父周期过程汇报得分计算公式(公共).开启或不开启中期 值不等于空 ))  39693

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:890659_1_39741
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:890661_1_39741
calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:890662_1_39741
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890665_1_39741
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890666_1_39741
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:890649_1_39745
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890655_1_39745
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:890651_1_39745
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:890652_1_39745
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890656_1_39745
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
if((reqDto!= null&&  reqDto.getOpenOrCloseMidCycle() !=null && reqDto.getOpenOrCloseMidCycle().equals("TRUE")&&reqDto!= null&& reqDto.getComFloatField() != null )) {
        //if((D4-执行父周期过程汇报得分计算公式(公共).开启或不开启中期 等于 是 and D4-执行父周期过程汇报得分计算公式(公共).中期汇报得分 值不等于空 ))  39739

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:890659_1_39742
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:890661_1_39742
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(reqDto.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:890662_1_39742
calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890665_1_39742
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890666_1_39742
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalPointRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalDigitsLastRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_6 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null&&calculateCalcServiceCollectionComRespDto_5 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_4=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_4.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:890649_1_39743
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_4.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:890651_1_39743
    }
if(calculateCalcServiceCollectionComRespDto_5!=null){
      calculateCalcServiceCollectionComReqDto_4.setCalcPara2(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:890652_1_39743
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_4.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890655_1_39743
calculateCalcServiceCollectionComReqDto_4.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890656_1_39743
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_4.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_6 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_4)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_7 = null;
    if(calculateCalcServiceCollectionComRespDto_6 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_5=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_5.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:890859_1_39746
calculateCalcServiceCollectionComReqDto_5.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:890862_1_39746
if(calculateCalcServiceCollectionComRespDto_6!=null){
      calculateCalcServiceCollectionComReqDto_5.setCalcPara1(calculateCalcServiceCollectionComRespDto_6.getCalcResult());//SimpleFieldAssign//sourceId:890861_1_39746
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_5.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:890865_1_39746
calculateCalcServiceCollectionComReqDto_5.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890866_1_39746
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_5.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_5.getCalcPara2(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_5.getDecimalPointRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_5.getDecimalDigitsLastRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_7 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_5)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_7 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_7!=null){
      receptionServiceReq.setComFloatField(calculateCalcServiceCollectionComRespDto_7.getCalcResult());//SimpleFieldAssign//sourceId:890648_1_39747
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&& reqDto.getOpenOrCloseMidCycle() == null || (reqDto!= null&&  reqDto.getOpenOrCloseMidCycle() !=null && reqDto.getOpenOrCloseMidCycle().equals("FALSE")))){
       //elseif((D4-执行父周期过程汇报得分计算公式(公共).开启或不开启中期 值等于空  or D4-执行父周期过程汇报得分计算公式(公共).开启或不开启中期 等于 否))  39740

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_9 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_6=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_6.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:890859_1_39752
calculateCalcServiceCollectionComReqDto_6.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:890862_1_39752
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_6.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:890861_1_39752
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_6.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:890865_1_39752
calculateCalcServiceCollectionComReqDto_6.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890866_1_39752
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_6.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_6.getCalcPara2(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_6.getDecimalPointRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_6.getDecimalDigitsLastRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_9 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_6)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    if(calculateCalcServiceCollectionComRespDto_9 !=null){
          AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_9!=null){
      receptionServiceReq_1.setComFloatField(calculateCalcServiceCollectionComRespDto_9.getCalcResult());//SimpleFieldAssign//sourceId:890648_1_39753
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
    }
      }
else if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("NO_KR"))){
       //elseif(D4-执行父周期过程汇报得分计算公式(公共).开启或不开启KR 等于 未开启KR)  39737

if((reqDto!= null&&  reqDto.getOpenOrCloseMidCycle() !=null && reqDto.getOpenOrCloseMidCycle().equals("TRUE")&&reqDto!= null&& reqDto.getComFloatField() != null )) {
        //if((D4-执行父周期过程汇报得分计算公式(公共).开启或不开启中期 等于 是 and D4-执行父周期过程汇报得分计算公式(公共).中期汇报得分 值不等于空 ))  39756

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_10 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_7=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_7.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:890659_1_39759
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_7.setCalcPara1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:890661_1_39759
calculateCalcServiceCollectionComReqDto_7.setCalcPara2(reqDto.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:890662_1_39759
calculateCalcServiceCollectionComReqDto_7.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890665_1_39759
calculateCalcServiceCollectionComReqDto_7.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890666_1_39759
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_7.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_7.getDecimalPointRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_7.getDecimalDigitsLastRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_10 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_7)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_11 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_10 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_8=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_8.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:890649_1_39760
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_8.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:890651_1_39760
    }
if(calculateCalcServiceCollectionComRespDto_10!=null){
      calculateCalcServiceCollectionComReqDto_8.setCalcPara2(calculateCalcServiceCollectionComRespDto_10.getCalcResult());//SimpleFieldAssign//sourceId:890652_1_39760
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_8.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890655_1_39760
calculateCalcServiceCollectionComReqDto_8.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890656_1_39760
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_8.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_11 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_8)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_12 = null;
    if(calculateCalcServiceCollectionComRespDto_11 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_9=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_9.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:890859_1_39761
calculateCalcServiceCollectionComReqDto_9.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:890862_1_39761
if(calculateCalcServiceCollectionComRespDto_11!=null){
      calculateCalcServiceCollectionComReqDto_9.setCalcPara1(calculateCalcServiceCollectionComRespDto_11.getCalcResult());//SimpleFieldAssign//sourceId:890861_1_39761
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_9.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:890865_1_39761
calculateCalcServiceCollectionComReqDto_9.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890866_1_39761
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_9.getCalcFormula(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_9.getCalcPara2(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_9.getDecimalPointRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_9.getDecimalDigitsLastRules(),"D4-执行父周期过程汇报得分计算公式(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_12 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_9)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_3 = null;
    if(calculateCalcServiceCollectionComRespDto_12 !=null){
          AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_12!=null){
      receptionServiceReq_2.setComFloatField(calculateCalcServiceCollectionComRespDto_12.getCalcResult());//SimpleFieldAssign//sourceId:890648_1_39762
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_3 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
           }
      }
else if((reqDto!= null&& reqDto.getOpenOrCloseMidCycle() == null || (reqDto!= null&&  reqDto.getOpenOrCloseMidCycle() !=null && reqDto.getOpenOrCloseMidCycle().equals("FALSE")))){
       //elseif((D4-执行父周期过程汇报得分计算公式(公共).开启或不开启中期 值等于空  or D4-执行父周期过程汇报得分计算公式(公共).开启或不开启中期 等于 否))  39757

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_3.setComFloatField(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:890648_1_39758
    }

    /*约定出参：过程汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_3);


      receptionServiceRes_1 = receptionServiceRes_4;
    }
    }
ImplementFatherProcessReportScoreFormulaComRespDto retData = new ImplementFatherProcessReportScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setComFloatField(receptionServiceRes_1.getComFloatField());//SimpleFieldAssign//sourceId:890869_1
    }




return retData;
  }
/**
   * D4-执行主客观得分计算公式(公共)[6465]
   * gen by moon at 6/27/2023, 6:26:50 PM
   */
  @Trace(operationName = "D4-执行主客观得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementSubjectiveAndObjectiveScoreFormulaComRespDto implementSubjectiveAndObjectiveScoreFormulaCom(ImplementSubjectiveAndObjectiveScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getSubAndObjModel() !=null && reqDto.getSubAndObjModel().equals("SUBJECTIVE")&&reqDto!= null&& reqDto.getSubjectiveScore() != null )) {
        //if((D4-执行主客观得分计算公式(公共).主客观模型 等于 主观 and D4-执行主客观得分计算公式(公共).主观得分 值不等于空 ))  39674

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setSubAndObjScore(reqDto.getSubjectiveScore());//SimpleFieldAssign//sourceId:890345_1_39677
    }

    /*约定出参：主客观得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getSubAndObjScore(),"D4-执行主客观得分计算公式(公共)-约定出参：主客观得分-主客观得分不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
      }
else if((reqDto!= null&&  reqDto.getSubAndObjModel() !=null && reqDto.getSubAndObjModel().equals("OBJECTIVE")&&reqDto!= null&& reqDto.getObjectiveScore() != null )){
       //elseif((D4-执行主客观得分计算公式(公共).主客观模型 等于 客观 and D4-执行主客观得分计算公式(公共).客观得分 值不等于空 ))  39675

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_1.setSubAndObjScore(reqDto.getObjectiveScore());//SimpleFieldAssign//sourceId:890345_1_39678
    }

    /*约定出参：主客观得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getSubAndObjScore(),"D4-执行主客观得分计算公式(公共)-约定出参：主客观得分-主客观得分不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
    }
else if((reqDto!= null&&  reqDto.getSubAndObjModel() !=null && reqDto.getSubAndObjModel().equals("SUBJECTIVE_AND_OBJECTIVE")&&reqDto!= null&& reqDto.getSubjectiveScore() != null &&reqDto!= null&& reqDto.getObjectiveScore() != null )){
       //elseif((D4-执行主客观得分计算公式(公共).主客观模型 等于 主客观得分 and D4-执行主客观得分计算公式(公共).主观得分 值不等于空  and D4-执行主客观得分计算公式(公共).客观得分 值不等于空 ))  39676

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:890389_1_39679
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890395_1_39679
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getSubjectiveScore());//SimpleFieldAssign//sourceId:890391_1_39679
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:890392_1_39679
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890396_1_39679
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:890389_1_39681
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(reqDto.getObjectiveScore());//SimpleFieldAssign//sourceId:890391_1_39681
calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:890392_1_39681
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890395_1_39681
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890396_1_39681
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:890402_1_39682
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:890408_1_39682
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:890404_1_39682
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:890405_1_39682
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890409_1_39682
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalPointRules(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相加-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalDigitsLastRules(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相加-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:890414_1_39683
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:890417_1_39683
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:890416_1_39683
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:890420_1_39683
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890421_1_39683
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcPara2(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相除-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalPointRules(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalDigitsLastRules(),"D4-执行主客观得分计算公式(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_3 = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq_2.setSubAndObjScore(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:890345_1_39684
    }

    /*约定出参：主客观得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getSubAndObjScore(),"D4-执行主客观得分计算公式(公共)-约定出参：主客观得分-主客观得分不能为空",false);
      receptionServiceRes_3 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
           }
    }
ImplementSubjectiveAndObjectiveScoreFormulaComRespDto retData = new ImplementSubjectiveAndObjectiveScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setSubAndObjScore(receptionServiceRes_1.getSubAndObjScore());//SimpleFieldAssign//sourceId:890892_1
    }




return retData;
  }
/**
   * D4-计算达成度(公共)[6460]
   * gen by moon at 6/27/2023, 6:26:43 PM
   */
  @Trace(operationName = "D4-计算达成度(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public CalculateReachComRespDto calculateReachCom(CalculateReachComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&& reqDto.getActualScoreValue() != null )) {
        //if(D4-计算达成度(公共).实际得分（数值） 值不等于空 )  39547

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:886497_1_39548
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:886503_1_39548
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getActualScoreValue());//SimpleFieldAssign//sourceId:886499_1_39548
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:886500_1_39548
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886504_1_39548
    }

    /*计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-计算达成度(公共)-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcPara1(),"D4-计算达成度(公共)-计算公式=两数相除-计算入参1不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcPara2(),"D4-计算达成度(公共)-计算公式=两数相除-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-计算达成度(公共)-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-计算达成度(公共)-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



    CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    if(calculateCalcServiceCollectionComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:1045151_1_45697
calculateCalcServiceCollectionComReqDto_1.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:1045154_1_45697
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:1045153_1_45697
    }
    if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1045157_1_45697
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1045158_1_45697
    }

    /*D4-计算服务集合（基础）(公共)[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-计算达成度(公共)-D4-计算服务集合（基础）(公共)-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcPara2(),"D4-计算达成度(公共)-D4-计算服务集合（基础）(公共)-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-计算达成度(公共)-D4-计算服务集合（基础）(公共)-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-计算达成度(公共)-D4-计算服务集合（基础）(公共)-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_2 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_2!=null){
      receptionServiceReq.setReach(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:886607_1_39550
    }

    /*约定出参：达成度[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getReach(),"D4-计算达成度(公共)-约定出参：达成度-达成度不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
CalculateReachComRespDto retData = new CalculateReachComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setReach(receptionServiceRes_1.getReach());//SimpleFieldAssign//sourceId:886610_1
    }




return retData;
  }
/**
   * D4-执行跨树克隆汇报得分(公共)[6453]
   * gen by moon at 6/27/2023, 6:26:30 PM
   */
  @Trace(operationName = "D4-执行跨树克隆汇报得分(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementReportScoreCloneFromOtherTreeComRespDto implementReportScoreCloneFromOtherTreeCom(ImplementReportScoreCloneFromOtherTreeComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage 4-01-01查标准数据详情  39415
      OmsStandardDataResult omsStandardDataResult = null;
    QueryStandardDataDetailReq queryStandardDataDetailReq=new QueryStandardDataDetailReq();
  if(reqDto!=null){
      queryStandardDataDetailReq.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:883849_1_39415
queryStandardDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:883850_1_39415
    }

    /*4-01-01查标准数据详情[2696]   */
    Assert.isNull(queryStandardDataDetailReq.getDataResultId(),"D4-执行跨树克隆汇报得分(公共)-4-01-01查标准数据详情-数据结果ID 不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentId(),"D4-执行跨树克隆汇报得分(公共)-4-01-01查标准数据详情-主题内容ID不能为空",false);
      omsStandardDataResult = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((omsStandardDataResult != null )) {
        //if(4-01-01查标准数据详情【查克隆源头数据是否存在】.出参 值不等于空 )  39416

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    if(omsStandardDataResult !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:883966_1_39419
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:883972_1_39419
if(omsStandardDataResult!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(omsStandardDataResult.getDataResult());//SimpleFieldAssign//sourceId:883968_1_39419
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:883969_1_39419
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:883973_1_39419
    }

    /*M4-计算公式：两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行跨树克隆汇报得分(公共)-M4-计算公式：两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行跨树克隆汇报得分(公共)-M4-计算公式：两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行跨树克隆汇报得分(公共)-M4-计算公式：两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    if(calculateCalcServiceCollectionComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:883956_1_39420
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:883958_1_39420
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:883959_1_39420
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:883962_1_39420
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:883963_1_39420
    }

    /*M4-计算公式：两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行跨树克隆汇报得分(公共)-M4-计算公式：两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行跨树克隆汇报得分(公共)-M4-计算公式：两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行跨树克隆汇报得分(公共)-M4-计算公式：两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_2 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_2!=null){
      receptionServiceReq.setReportScoreValue(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:884055_1_39421
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((omsStandardDataResult == null )){
       //elseif(4-01-01查标准数据详情【查克隆源头数据是否存在】.出参 值等于空 )  39417

//异常结束 39418
      throw new BizException("C10100212","对不起，汇报得分不存在~",false);
    }
ImplementReportScoreCloneFromOtherTreeComRespDto retData = new ImplementReportScoreCloneFromOtherTreeComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setReportScoreValue(receptionServiceRes_1.getReportScoreValue());//SimpleFieldAssign//sourceId:884057_1
    }




return retData;
  }
/**
   * D4-执行实际得分计算公式(公共)[6448]
   * gen by moon at 6/27/2023, 6:23:10 PM
   */
  @Trace(operationName = "D4-执行实际得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementFatherCycleActualScoreFormulaComRespDto implementFatherCycleActualScoreFormulaCom(ImplementFatherCycleActualScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getActualScoreIncludeRank() !=null && reqDto.getActualScoreIncludeRank().equals("RANK_AND_DOWN"))) {
        //if(D4-执行实际得分计算公式(公共).实际得分组成 等于 本级加下级)  39533

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:885873_1_39534
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:885879_1_39534
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getActualScoreValue());//SimpleFieldAssign//sourceId:885875_1_39534
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:885876_1_39534
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885880_1_39534
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:885873_1_39535
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(reqDto.getReportScoreValue());//SimpleFieldAssign//sourceId:885875_1_39535
calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:885876_1_39535
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:885879_1_39535
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885880_1_39535
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto_2 !=null&&calculateCalcServiceCollectionComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:885863_1_39536
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:885869_1_39536
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:885865_1_39536
    }
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:885866_1_39536
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885870_1_39536
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalPointRules(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相加-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalDigitsLastRules(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相加-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:885981_1_39537
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:885984_1_39537
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:885983_1_39537
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885987_1_39537
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885988_1_39537
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcPara2(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相除-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalPointRules(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalDigitsLastRules(),"D4-执行实际得分计算公式(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq.setActualScoreValue(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:885967_1_39538
    }

    /*约定出参：实际得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&&  reqDto.getActualScoreIncludeRank() !=null && reqDto.getActualScoreIncludeRank().equals("NOT_INCLUDE_RANK"))){
       //elseif(D4-执行实际得分计算公式(公共).实际得分组成 等于 下级实际得分)  39656

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_1.setActualScoreValue(reqDto.getActualScoreValue());//SimpleFieldAssign//sourceId:885967_1_39659
    }

    /*约定出参：实际得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
    }
ImplementFatherCycleActualScoreFormulaComRespDto retData = new ImplementFatherCycleActualScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setActualScoreValue(receptionServiceRes_1.getActualScoreValue());//SimpleFieldAssign//sourceId:885971_1
    }




return retData;
  }
/**
   * D4-计算量化得分(公共)[6439]
   * gen by moon at 6/20/2023, 6:23:22 PM
   */
  @Trace(operationName = "D4-计算量化得分(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public CalculateQuantizedScoreComRespDto calculateQuantized_scoreCom(CalculateQuantizedScoreComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//步骤0: M4-接收字段入参（计算使用） - addAcceptField
     //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1045920_1
receptionServiceReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1045921_1
receptionServiceReq.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1045922_1
receptionServiceReq.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:1045924_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1045923_1
receptionServiceReq.setObjectiveScore(reqDto.getObjectiveScore());//SimpleFieldAssign//sourceId:1045931_1
    }

    /*M4-接收字段入参（计算使用）[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;

CalculateQuantizedScoreComRespDto retData = new CalculateQuantizedScoreComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setObjectiveScore(receptionServiceRes_1.getObjectiveScore());//SimpleFieldAssign//sourceId:882384_1
    }




return retData;
  }
/**
   * D4-得分克隆其他树条件模型(公共)[6418]
   * gen by moon at 4/15/2024, 11:00:38 PM
   */
  @Trace(operationName = "D4-得分克隆其他树条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualScoreCloneFormAnalysisComRespDto implementActualScoreCloneFormAnalysisCom(ImplementActualScoreCloneFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_3 =null;
//virtualUsage 约定目标得分计算公式  39908
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setCustomField("CALC");//CUSTOM_CONVENTION//sourceId:1628305_1_39908
receptionServiceReq.setCustomField1("CLONE_FROM_EVA_SUBJECT");//CUSTOM_CONVENTION//sourceId:1628292_1_39908

    /*约定目标得分计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCustomField(),"D4-得分克隆其他树条件模型(公共)-约定目标得分计算公式-自定义字段不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField1(),"D4-得分克隆其他树条件模型(公共)-约定目标得分计算公式-自定义字段1不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



if((reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("REACH_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT"))) {
        //if((D4-得分克隆其他树条件模型(公共).评价模板商业参数 等于 达成度型 or D4-得分克隆其他树条件模型(公共).评价模板商业参数 等于 混合型) and D4-得分克隆其他树条件模型(公共).被评对象类型编码 等于 一级部门目标任务责任部门)  38885

if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE"))) {
        //if(D4-得分克隆其他树条件模型(公共).关联目标内容类型编码 等于 指标)  64041

      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_1.setCalcOrClone(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:895238_1_64062
    }

    /*M4接收目标得分计算公式[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getCalcOrClone(),"D4-得分克隆其他树条件模型(公共)-M4接收目标得分计算公式-目标得分计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_3 = receptionServiceRes_2;
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))){
       //elseif((D4-得分克隆其他树条件模型(公共).关联目标内容类型编码 等于 目标 or D4-得分克隆其他树条件模型(公共).关联目标内容类型编码 等于 目标分类))  64043

//processBranchName:正常结束 ,processBranchId:66909

      }
else{
       //else  64052

//异常结束 64053
      throw new BizException("C10100340","对不起，找不到个人树和部门OKR树汇报得分克隆计算公式~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT"))||(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT")&&reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("DOC_TYPE"))||(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT")&&reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("PROCESS_TYPE"))){
       //elseif(D4-得分克隆其他树条件模型(公共).被评对象类型编码 等于 评价对象 or (D4-得分克隆其他树条件模型(公共).被评对象类型编码 等于 一级部门目标任务责任部门 and D4-得分克隆其他树条件模型(公共).评价模板商业参数 等于 资料型) or (D4-得分克隆其他树条件模型(公共).被评对象类型编码 等于 一级部门目标任务责任部门 and D4-得分克隆其他树条件模型(公共).评价模板商业参数 等于 进度型))  64072

//processBranchName:正常结束 ,processBranchId:66910

    }
else{
       //else  64074

//异常结束 64075
      throw new BizException("C10100342","对不起，找不到汇报得分计算公式~",false);
    }
ImplementActualScoreCloneFormAnalysisComRespDto retData = new ImplementActualScoreCloneFormAnalysisComRespDto();
  if(receptionServiceRes_3!=null){
      retData.setCalcOrClone(receptionServiceRes_3.getCalcOrClone());//SimpleFieldAssign//sourceId:895614_1
    }




return retData;
  }
/**
   * 1111D4-得分计算条件模型(公共)[6419]
   * gen by moon at 4/30/2024, 1:55:53 PM
   */
  @Trace(operationName = "1111D4-得分计算条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementScoreRightClacFormAnalysisComRespDto implementScoreRightClacFormAnalysisCom(ImplementScoreRightClacFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_3 =null;
AddAcceptFieldRespDto receptionServiceRes_6 =null;
AddAcceptFieldRespDto receptionServiceRes_10 =null;
//virtualUsage M4约定汇报得分变量  38950
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setCustomField1("RANK_CALC");//CUSTOM_CONVENTION//sourceId:1628323_1_38950
receptionServiceReq.setCustomField2("DOWN_CALC");//CUSTOM_CONVENTION//sourceId:1628324_1_38950
receptionServiceReq.setCustomField3("SUBJECTIVE");//CUSTOM_CONVENTION//sourceId:1628325_1_38950
receptionServiceReq.setCustomField4("OBJECTIVE");//CUSTOM_CONVENTION//sourceId:1628326_1_38950
receptionServiceReq.setCustomField5("SUBJECTIVE_AND_OBJECTIVE");//CUSTOM_CONVENTION//sourceId:1628327_1_38950

    /*M4约定汇报得分变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCustomField1(),"1111D4-得分计算条件模型(公共)-M4约定汇报得分变量-自定义字段1不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField2(),"1111D4-得分计算条件模型(公共)-M4约定汇报得分变量-自定义字段2不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField3(),"1111D4-得分计算条件模型(公共)-M4约定汇报得分变量-自定义字段3不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField4(),"1111D4-得分计算条件模型(公共)-M4约定汇报得分变量-自定义字段4不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField5(),"1111D4-得分计算条件模型(公共)-M4约定汇报得分变量-自定义字段5不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



if((reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("REACH_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CALC"))) {
        //if((D4-汇报得分计算条件模型(公共).评价模板商业参数 等于 达成度型 or D4-汇报得分计算条件模型(公共).评价模板商业参数 等于 混合型) and D4-汇报得分计算条件模型(公共).执行汇报得分计算公式 等于 自己计算汇报得分)  38924

if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT"))) {
        //if(D4-汇报得分计算条件模型(公共).被评对象类型编码 等于 评价对象)  38931

if((reqDto!= null&&  reqDto.getIsOkrPlanScene() !=null && reqDto.getIsOkrPlanScene().equals("OKR_PLAN_SCENE"))) {
        //if(D4-汇报得分向左计算条件模型(公共).冗余开启OKR场景 等于 OKR场景)  38952

if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE"))) {
        //if(D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标)  41986

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();


    /*M4接收汇报得分OKR变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getOkrOrNoOkr(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分OKR变量-目标得分OKR变量不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_3 = receptionServiceRes_2;
      }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))){
       //elseif((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标 or D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类))  41987

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();


    /*M4接收汇报得分OKR变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getOkrOrNoOkr(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分OKR变量-目标得分OKR变量不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_3 = receptionServiceRes_4;
      }
if((reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("TRUE")&&!(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")))||(reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("FALSE")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIndicatorKind() !=null && reqDto.getIndicatorKind().equals("KEY_RESULTS"))) {
        //if((D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 是 and D4-汇报得分计算条件模型(公共).关联目标内容类型编码 不等于 目标) or (D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 否 and D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).OKR目标属性 等于 关键成果KR))  39164

if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE")&&reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("TRUE"))) {
        //if((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 是 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 等于 是))  39187

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_5 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();


    /*M4接收汇报得分主客观变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getSubAndObjModel(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分主客观变量-目标得分主客观变量不能为空",false);
      receptionServiceRes_5 = nbGridCalculate.addAcceptField(receptionServiceReq_3);


      receptionServiceRes_6 = receptionServiceRes_5;
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE")&&reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE")&&reqDto!= null&& reqDto.getIsObjectiveQuantization() == null &&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE"))){
       //elseif((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 是 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 等于 否) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 是 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 值等于空  and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是))  39197

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_7 = null;
    AddAcceptFieldReqDto receptionServiceReq_4=new AddAcceptFieldReqDto();


    /*M4接收汇报得分主客观变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getSubAndObjModel(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分主客观变量-目标得分主客观变量不能为空",false);
      receptionServiceRes_7 = nbGridCalculate.addAcceptField(receptionServiceReq_4);


      receptionServiceRes_6 = receptionServiceRes_7;
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("FALSE")&&reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("TRUE"))){
       //elseif((D4-汇报得分向左计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分向左计算条件模型(公共).是否开启主观评分 等于 否 and D4-汇报得分向左计算条件模型(公共).是否开启量化客观评分 等于 是))  39198

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_8 = null;
    AddAcceptFieldReqDto receptionServiceReq_5=new AddAcceptFieldReqDto();


    /*M4接收汇报得分主客观变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getSubAndObjModel(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分主客观变量-目标得分主客观变量不能为空",false);
      receptionServiceRes_8 = nbGridCalculate.addAcceptField(receptionServiceReq_5);


      receptionServiceRes_6 = receptionServiceRes_8;
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("FALSE")&&reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&& reqDto.getIsObjectiveQuantization() != null )||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&& reqDto.getIsSubjectiveScoring() == null )){
       //elseif((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 否 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 等于 否) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 否) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 值不等于空 ) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).是否开启主观评分 值等于空 ))  39199

//异常结束 39200
      throw new BizException("C10100252","汇报得分计算公式错误~",false);
    }
if((reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("FALSE")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIndicatorKind() !=null && reqDto.getIndicatorKind().equals("KEY_RESULTS"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("TRUE"))) {
        //if((D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 否 and D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).OKR目标属性 等于 关键成果KR) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 是) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 是))  39885

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_9 = null;
    AddAcceptFieldReqDto receptionServiceReq_6=new AddAcceptFieldReqDto();


    /*M4接收汇报得分本级或下级变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_6.getRankOrDownCalc(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分本级或下级变量-计算本级或下级得分不能为空",false);
      receptionServiceRes_9 = nbGridCalculate.addAcceptField(receptionServiceReq_6);


      receptionServiceRes_10 = receptionServiceRes_9;
      }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("FALSE"))){
       //elseif((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 否))  48966

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_11 = null;
    AddAcceptFieldReqDto receptionServiceReq_7=new AddAcceptFieldReqDto();


    /*M4接收汇报得分本级或下级变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_7.getRankOrDownCalc(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分本级或下级变量-计算本级或下级得分不能为空",false);
      receptionServiceRes_11 = nbGridCalculate.addAcceptField(receptionServiceReq_7);


      receptionServiceRes_10 = receptionServiceRes_11;
      }
    }
else if((reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("FALSE")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))){
       //elseif((D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 否 or D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标))  39171

if((reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE")&&reqDto!= null&&  reqDto.getIndicatorKind() !=null && reqDto.getIndicatorKind().equals("OBJECTIVES"))||(reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("TRUE")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE")&&reqDto!= null&&  reqDto.getIndicatorKind() !=null && reqDto.getIndicatorKind().equals("OBJECTIVES"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&& reqDto.getIsObjectiveQuantization() != null )||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")&&reqDto!= null&& reqDto.getIsSubjectiveScoring() != null )||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")&&reqDto!= null&& reqDto.getIsObjectiveQuantization() != null )) {
        //if((D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 是 and D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否末级指标 等于 否 and D4-汇报得分计算条件模型(公共).OKR目标属性 等于 目标O) or (D4-汇报得分计算条件模型(公共).是否开启量化客观评分 等于 是 and D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否末级指标 等于 否 and D4-汇报得分计算条件模型(公共).OKR目标属性 等于 目标O) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 是) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 值不等于空 ) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标 and D4-汇报得分计算条件模型(公共).是否开启主观评分 值不等于空 ) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 值不等于空 ))  39173

//异常结束 39174
      throw new BizException("C10100252","汇报得分计算公式错误~",false);
      }
if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE")&&reqDto!= null&&  reqDto.getIndicatorKind() !=null && reqDto.getIndicatorKind().equals("OBJECTIVES"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))) {
        //if((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否末级指标 等于 否 and D4-汇报得分计算条件模型(公共).OKR目标属性 等于 目标O) or D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 or D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标)  39179

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_12 = null;
    AddAcceptFieldReqDto receptionServiceReq_8=new AddAcceptFieldReqDto();


    /*M4接收汇报得分本级或下级变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_8.getRankOrDownCalc(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分本级或下级变量-计算本级或下级得分不能为空",false);
      receptionServiceRes_12 = nbGridCalculate.addAcceptField(receptionServiceReq_8);


      receptionServiceRes_10 = receptionServiceRes_12;
      }
    }
else{
       //else  39204

//异常结束 39205
      throw new BizException("C10100252","汇报得分计算公式错误~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getIsOkrPlanScene() !=null && reqDto.getIsOkrPlanScene().equals("NO_OKR_PLAN_SCENE"))){
       //elseif(D4-汇报得分向左计算条件模型(公共).冗余开启OKR场景 等于 无OKR场景)  38954

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_13 = null;
    AddAcceptFieldReqDto receptionServiceReq_9=new AddAcceptFieldReqDto();


    /*M4接收汇报得分OKR变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_9.getOkrOrNoOkr(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分OKR变量-目标得分OKR变量不能为空",false);
      receptionServiceRes_13 = nbGridCalculate.addAcceptField(receptionServiceReq_9);


      receptionServiceRes_3 = receptionServiceRes_13;
if((reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("TRUE")&&!(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")))||(reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("FALSE")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))) {
        //if((D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 是 and D4-汇报得分计算条件模型(公共).关联目标内容类型编码 不等于 目标) or (D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 否 and D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否末级指标 等于 是))  39210

if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE")&&reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("TRUE"))) {
        //if((D4-汇报得分向左计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分向左计算条件模型(公共).是否开启主观评分 等于 是 and D4-汇报得分向左计算条件模型(公共).是否开启量化客观评分 等于 是))  39217

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_14 = null;
    AddAcceptFieldReqDto receptionServiceReq_10=new AddAcceptFieldReqDto();


    /*M4接收汇报得分主客观变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_10.getSubAndObjModel(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分主客观变量-目标得分主客观变量不能为空",false);
      receptionServiceRes_14 = nbGridCalculate.addAcceptField(receptionServiceReq_10);


      receptionServiceRes_6 = receptionServiceRes_14;
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE")&&reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE")&&reqDto!= null&& reqDto.getIsObjectiveQuantization() == null &&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE"))){
       //elseif((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 是 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 等于 否) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 是 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 值等于空  and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是))  39228

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_15 = null;
    AddAcceptFieldReqDto receptionServiceReq_11=new AddAcceptFieldReqDto();


    /*M4接收汇报得分主客观变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_11.getSubAndObjModel(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分主客观变量-目标得分主客观变量不能为空",false);
      receptionServiceRes_15 = nbGridCalculate.addAcceptField(receptionServiceReq_11);


      receptionServiceRes_6 = receptionServiceRes_15;
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("FALSE")&&reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("TRUE"))){
       //elseif((D4-汇报得分向左计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分向左计算条件模型(公共).是否开启主观评分 等于 否 and D4-汇报得分向左计算条件模型(公共).是否开启量化客观评分 等于 是))  39229

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_16 = null;
    AddAcceptFieldReqDto receptionServiceReq_12=new AddAcceptFieldReqDto();


    /*M4接收汇报得分主客观变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_12.getSubAndObjModel(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分主客观变量-目标得分主客观变量不能为空",false);
      receptionServiceRes_16 = nbGridCalculate.addAcceptField(receptionServiceReq_12);


      receptionServiceRes_6 = receptionServiceRes_16;
    }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("FALSE")&&reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&& reqDto.getIsObjectiveQuantization() != null )){
       //elseif((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 否 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 等于 否) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).是否开启主观评分 等于 否) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).是否开启量化客观评分 值不等于空 ))  39230

//异常结束 39231
      throw new BizException("C10100252","汇报得分计算公式错误~",false);
    }
if((reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("FALSE")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE")&&reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("TRUE"))) {
        //if((D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 否 and D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否末级指标 等于 是) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 是 and D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 是) or (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 是))  39888

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_17 = null;
    AddAcceptFieldReqDto receptionServiceReq_13=new AddAcceptFieldReqDto();


    /*M4接收汇报得分本级或下级变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_13.getRankOrDownCalc(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分本级或下级变量-计算本级或下级得分不能为空",false);
      receptionServiceRes_17 = nbGridCalculate.addAcceptField(receptionServiceReq_13);


      receptionServiceRes_10 = receptionServiceRes_17;
      }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("FALSE"))){
       //elseif((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-汇报得分计算条件模型(公共).建设任务是否开启汇报 等于 否))  48968

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_18 = null;
    AddAcceptFieldReqDto receptionServiceReq_14=new AddAcceptFieldReqDto();


    /*M4接收汇报得分本级或下级变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_14.getRankOrDownCalc(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分本级或下级变量-计算本级或下级得分不能为空",false);
      receptionServiceRes_18 = nbGridCalculate.addAcceptField(receptionServiceReq_14);


      receptionServiceRes_10 = receptionServiceRes_18;
      }
      }
else if((reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("FALSE")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))){
       //elseif((D4-汇报得分计算条件模型(公共).实际得分是否开启本级得分 等于 否 or D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标))  39211

if((reqDto!= null&&  reqDto.getIsSubjectiveScoring() !=null && reqDto.getIsSubjectiveScoring().equals("TRUE")||reqDto!= null&&  reqDto.getIsObjectiveQuantization() !=null && reqDto.getIsObjectiveQuantization().equals("TRUE"))) {
        //if((D4-汇报得分向左计算条件模型(公共).是否开启主观评分 等于 是 or D4-汇报得分向左计算条件模型(公共).是否开启量化客观评分 等于 是))  39233

//异常结束 39234
      throw new BizException("C10100252","汇报得分计算公式错误~",false);
      }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE")&&reqDto!= null&&  reqDto.getIndicatorKind() !=null && reqDto.getIndicatorKind().equals("OBJECTIVES"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))){
       //elseif((D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-汇报得分计算条件模型(公共).是否末级指标 等于 否 and D4-汇报得分计算条件模型(公共).OKR目标属性 等于 目标O) or D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标 or D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类)  39235

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_19 = null;
    AddAcceptFieldReqDto receptionServiceReq_15=new AddAcceptFieldReqDto();


    /*M4接收汇报得分本级或下级变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_15.getRankOrDownCalc(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分本级或下级变量-计算本级或下级得分不能为空",false);
      receptionServiceRes_19 = nbGridCalculate.addAcceptField(receptionServiceReq_15);


      receptionServiceRes_10 = receptionServiceRes_19;
    }
    }
else{
       //else  39213

//异常结束 39214
      throw new BizException("C10100252","汇报得分计算公式错误~",false);
    }
    }
      }
else if((reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT"))&&(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))){
       //elseif(D4-汇报得分计算条件模型(公共).被评对象类型编码 等于 一级部门目标任务责任部门 and (D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 or D4-汇报得分计算条件模型(公共).关联目标内容类型编码 等于 目标))  39294

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_20 = null;
    AddAcceptFieldReqDto receptionServiceReq_16=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_16.setRankOrDownCalc(receptionServiceRes.getCustomField2());//SimpleFieldAssign//sourceId:889196_1_64084
    }

    /*M4接收汇报得分本级或下级变量[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_16.getRankOrDownCalc(),"1111D4-得分计算条件模型(公共)-M4接收汇报得分本级或下级变量-计算本级或下级得分不能为空",false);
      receptionServiceRes_20 = nbGridCalculate.addAcceptField(receptionServiceReq_16);


      receptionServiceRes_10 = receptionServiceRes_20;
    }
else{
       //else  64082

//异常结束 64083
      throw new BizException("C10100343","对不起，找不到目标得分计算公式变量~",false);
    }
      }
ImplementScoreRightClacFormAnalysisComRespDto retData = new ImplementScoreRightClacFormAnalysisComRespDto();
  if(receptionServiceRes_10!=null){
      retData.setRankOrDownCalc(receptionServiceRes_10.getRankOrDownCalc());//SimpleFieldAssign//sourceId:889643_1
    }
if(receptionServiceRes_3!=null){
      retData.setOkrOrNoOkr(receptionServiceRes_3.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:889644_1
    }
if(receptionServiceRes_6!=null){
      retData.setSubAndObjModel(receptionServiceRes_6.getSubAndObjModel());//SimpleFieldAssign//sourceId:889645_1
    }




return retData;
  }
/**
   * 1111D4-实际得分计算条件模型(公共)[6421]
   * gen by moon at 4/30/2024, 1:55:34 PM
   */
  @Trace(operationName = "1111D4-实际得分计算条件模型(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualScoreRightClacFormAnalysisComRespDto implementActualScoreRightClacFormAnalysisCom(ImplementActualScoreRightClacFormAnalysisComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_7 =null;
//virtualUsage 实际得分=本级汇报得分  39653
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  receptionServiceReq.setActualScoreIncludeRank("INCLUDE_RANK");//sourceId:889877_1_39653

    /*实际得分=本级汇报得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getActualScoreIncludeRank(),"1111D4-实际得分计算条件模型(公共)-实际得分=本级汇报得分-执行实际得分计算公式不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



//virtualUsage 实际得分=下级实际得分  39654
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  receptionServiceReq_1.setActualScoreIncludeRank("NOT_INCLUDE_RANK");//sourceId:889878_1_39654

    /*实际得分=下级实际得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getActualScoreIncludeRank(),"1111D4-实际得分计算条件模型(公共)-实际得分=下级实际得分-执行实际得分计算公式不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);



//virtualUsage 实际得分=本级汇报得分+下级实际得分  39894
      //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  receptionServiceReq_2.setActualScoreIncludeRank("RANK_AND_DOWN");//sourceId:894863_1_39894

    /*实际得分=本级汇报得分+下级实际得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getActualScoreIncludeRank(),"1111D4-实际得分计算条件模型(公共)-实际得分=本级汇报得分+下级实际得分-执行实际得分计算公式不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);



if((reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE")||reqDto!= null&&  reqDto.getSubCycleIsLastCycle() !=null && reqDto.getSubCycleIsLastCycle().equals("SUB_CYCLE_SAME_AS_LAST_CYCLE_TYPE"))&&(reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("REACH_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("EVA_OBJECT")||reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("OKR_SUBJECT_PERSONAL"))&&(reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CALC"))) {
        //if((D4-实际得分计算条件模型(公共).标准数据计算周期模型 等于 子周期 or D4-实际得分计算条件模型(公共).标准数据计算周期模型 等于 中期 or D4-实际得分计算条件模型(公共).标准数据计算周期模型 等于 父周期 or D4-实际得分计算条件模型(公共).与末级周期同体类型分析结果 等于 子周期与末级周期同体) and (D4-实际得分计算条件模型(公共).评价模板商业参数 等于 达成度型 or D4-实际得分计算条件模型(公共).评价模板商业参数 等于 混合型) and (D4-实际得分计算条件模型(公共).被评对象类型编码 等于 评价对象 or D4-实际得分计算条件模型(公共).被评对象类型编码 等于 OKR责任主体个人) and D4-实际得分计算条件模型(公共).计算或克隆 等于 计算)  38983

if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("TRUE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIndicatorKind() !=null && reqDto.getIndicatorKind().equals("KEY_RESULTS")&&reqDto!= null&&  reqDto.getIsOkrPlanScene() !=null && reqDto.getIsOkrPlanScene().equals("OKR_PLAN_SCENE"))) {
        //if((D4-实际得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际得分计算条件模型(公共).是否末级指标 等于 是) or (D4-实际得分计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际得分计算条件模型(公共).OKR目标属性 等于 关键成果KR and D4-实际得分计算条件模型(公共).冗余开启OKR场景 等于 OKR场景))  38986

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_6 = null;
    AddAcceptFieldReqDto receptionServiceReq_3=new AddAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_3.setActualScoreIncludeRank(receptionServiceRes.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:894865_1_39895
    }

    /*约定出参：实际得分组成[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getActualScoreIncludeRank(),"1111D4-实际得分计算条件模型(公共)-约定出参：实际得分组成-执行实际得分计算公式不能为空",false);
      receptionServiceRes_6 = nbGridCalculate.addAcceptField(receptionServiceReq_3);


      receptionServiceRes_7 = receptionServiceRes_6;
      }
else if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE")&&reqDto!= null&&  reqDto.getIsLastObjective() !=null && reqDto.getIsLastObjective().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))){
       //elseif((D4-实际得分向左计算条件模型(公共).关联目标内容类型编码 等于 指标 and D4-实际得分向左计算条件模型(公共).是否末级指标 等于 否) or (D4-实际得分向左计算条件模型(公共).关联目标内容类型编码 等于 目标分类 or D4-实际得分向左计算条件模型(公共).关联目标内容类型编码 等于 目标))  38988

if((reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("TRUE")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("TRUE"))||(reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("TRUE")&&reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE"))) {
        //if((D4-实际得分计算条件模型(公共).实际得分是否开启本级得分 等于 是 and D4-实际得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-实际得分计算条件模型(公共).建设任务是否开启汇报 等于 是) or (D4-实际得分计算条件模型(公共).实际得分是否开启本级得分 等于 是 and D4-实际得分计算条件模型(公共).关联目标内容类型编码 等于 指标))  39897

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_8 = null;
    AddAcceptFieldReqDto receptionServiceReq_4=new AddAcceptFieldReqDto();
  if(receptionServiceRes_4!=null){
      receptionServiceReq_4.setActualScoreIncludeRank(receptionServiceRes_4.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:894865_1_39899
    }

    /*约定出参：实际得分组成[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getActualScoreIncludeRank(),"1111D4-实际得分计算条件模型(公共)-约定出参：实际得分组成-执行实际得分计算公式不能为空",false);
      receptionServiceRes_8 = nbGridCalculate.addAcceptField(receptionServiceReq_4);


      receptionServiceRes_7 = receptionServiceRes_8;
      }
else if((reqDto!= null&&  reqDto.getActualScoreIsOpenLocalLevelScore() !=null && reqDto.getActualScoreIsOpenLocalLevelScore().equals("FALSE"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET"))||(reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY")&&reqDto!= null&&  reqDto.getConstTaskIsOpenReport() !=null && reqDto.getConstTaskIsOpenReport().equals("FALSE"))){
       //elseif(D4-实际得分计算条件模型(公共).实际得分是否开启本级得分 等于 否 or D4-实际得分计算条件模型(公共).关联目标内容类型编码 等于 目标 or (D4-实际得分计算条件模型(公共).关联目标内容类型编码 等于 目标分类 and D4-实际得分计算条件模型(公共).建设任务是否开启汇报 等于 否))  39898

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_9 = null;
    AddAcceptFieldReqDto receptionServiceReq_5=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_5.setActualScoreIncludeRank(receptionServiceRes_2.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:894865_1_39900
    }

    /*约定出参：实际得分组成[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getActualScoreIncludeRank(),"1111D4-实际得分计算条件模型(公共)-约定出参：实际得分组成-执行实际得分计算公式不能为空",false);
      receptionServiceRes_9 = nbGridCalculate.addAcceptField(receptionServiceReq_5);


      receptionServiceRes_7 = receptionServiceRes_9;
    }
    }
      }
else if((reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("REACH_TYPE")||reqDto!= null&&  reqDto.getSchemeDataPara() !=null && reqDto.getSchemeDataPara().equals("MIXED_TYPE"))&&(reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("FLEVEL_OBJ_TASK_DUTY_DEPT")||reqDto!= null&&  reqDto.getEvaObjTypeCode() !=null && reqDto.getEvaObjTypeCode().equals("OKR_SUBJECT_DEPT"))&&(reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("MID_CYCLE")||reqDto!= null&&  reqDto.getStandardDataCalcCycleModel() !=null && reqDto.getStandardDataCalcCycleModel().equals("PARENT_CYCLE")||reqDto!= null&&  reqDto.getSubCycleIsLastCycle() !=null && reqDto.getSubCycleIsLastCycle().equals("SUB_CYCLE_SAME_AS_LAST_CYCLE_TYPE"))&&(reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CALC"))){
       //elseif((D4-实际得分计算条件模型(公共).评价模板商业参数 等于 达成度型 or D4-实际得分计算条件模型(公共).评价模板商业参数 等于 混合型) and (D4-实际得分计算条件模型(公共).被评对象类型编码 等于 一级部门目标任务责任部门 or D4-实际得分计算条件模型(公共).被评对象类型编码 等于 OKR责任主体部门) and (D4-实际得分计算条件模型(公共).标准数据计算周期模型 等于 子周期 or D4-实际得分计算条件模型(公共).标准数据计算周期模型 等于 中期 or D4-实际得分计算条件模型(公共).标准数据计算周期模型 等于 父周期 or D4-实际得分计算条件模型(公共).与末级周期同体类型分析结果 等于 子周期与末级周期同体) and D4-实际得分计算条件模型(公共).计算或克隆 等于 计算)  39902

if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET")||reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("TARGET_CATEGORY"))) {
        //if((D4-实际得分向左计算条件模型(公共).关联目标内容类型编码 等于 目标 or D4-实际得分向左计算条件模型(公共).关联目标内容类型编码 等于 目标分类))  39904

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_10 = null;
    AddAcceptFieldReqDto receptionServiceReq_6=new AddAcceptFieldReqDto();
  if(receptionServiceRes_2!=null){
      receptionServiceReq_6.setActualScoreIncludeRank(receptionServiceRes_2.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:894865_1_39906
    }

    /*约定出参：实际得分组成[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_6.getActualScoreIncludeRank(),"1111D4-实际得分计算条件模型(公共)-约定出参：实际得分组成-执行实际得分计算公式不能为空",false);
      receptionServiceRes_10 = nbGridCalculate.addAcceptField(receptionServiceReq_6);


      receptionServiceRes_7 = receptionServiceRes_10;
      }
    }
ImplementActualScoreRightClacFormAnalysisComRespDto retData = new ImplementActualScoreRightClacFormAnalysisComRespDto();
  if(receptionServiceRes_7!=null){
      retData.setActualScoreIncludeRank(receptionServiceRes_7.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:894872_1
    }




return retData;
  }

/**
   * D4-计算子周期汇报得分及实际得分(公共)[6434]
   * gen by moon at 1/5/2024, 4:24:22 AM
   */
  @Trace(operationName = "D4-计算子周期汇报得分及实际得分(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public CalculateSubCycleReportAndActualScoreComRespDto calculateSubCycleReportAndActualScoreCom(CalculateSubCycleReportAndActualScoreComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CALC"))) {
        //if(D4-计算子周期汇报得分及实际得分(公共).计算或克隆 等于 计算)  39979

if((reqDto!= null&&  reqDto.getRankOrDownCalc() !=null && reqDto.getRankOrDownCalc().equals("RANK_CALC"))) {
        //if(D4-计算子周期汇报得分及实际得分(公共).计算本级或下级 等于 计算本级)  39982

ImplementCalcSubjectiveScoreComRespDto implementCalcSubjectiveScoreComRespDto = null;
    ImplementCalcSubjectiveScoreComReqDto implementCalcSubjectiveScoreComReqDto=new ImplementCalcSubjectiveScoreComReqDto();
if(reqDto!=null){
      implementCalcSubjectiveScoreComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:958961_1_42214
      implementCalcSubjectiveScoreComReqDto.setSubjectiveRatingTotalValue(reqDto.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:958965_1_42214
implementCalcSubjectiveScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:958954_1_42214
implementCalcSubjectiveScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:958955_1_42214
implementCalcSubjectiveScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:958956_1_42214
implementCalcSubjectiveScoreComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:958966_1_42214
implementCalcSubjectiveScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:958957_1_42214
implementCalcSubjectiveScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:958958_1_42214
implementCalcSubjectiveScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:958959_1_42214
implementCalcSubjectiveScoreComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:958960_1_42214
implementCalcSubjectiveScoreComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:958962_1_42214
implementCalcSubjectiveScoreComReqDto.setReportObjectSetCode(reqDto.getReportObjectSetCode());//SimpleFieldAssign//sourceId:958963_1_42214
implementCalcSubjectiveScoreComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083924_1_42214
implementCalcSubjectiveScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:958964_1_42214
    }

    /*D4-执行计算主观得分(公共)[6827]   */
//    Assert.isNull(implementCalcSubjectiveScoreComReqDto.getStandardDataCalcCycleModel(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-标准数据计算周期模型不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-小数点规则不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-小数最后一位规则不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-被评对象目标周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-更新周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-父子中周期类型不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getTargetCycleContentTypeCode(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-关联目标内容类型编码不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getReportObjectSetCode(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-目标内容汇报对象设置项编码不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-冗余评价模板ID不能为空",false);
//      implementCalcSubjectiveScoreComRespDto = implementCalcSubjectiveScoreCom(implementCalcSubjectiveScoreComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateQuantizedScoreComRespDto calculateQuantizedScoreComRespDto = null;
    CalculateQuantizedScoreComReqDto calculateQuantizedScoreComReqDto=new CalculateQuantizedScoreComReqDto();


    /*D4-计算量化得分(公共)[6439]   */

      calculateQuantizedScoreComRespDto = calculateQuantized_scoreCom(calculateQuantizedScoreComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateAvgReportScoreStandardDataComRespDto calculateAvgReportScoreStandardDataComRespDto = null;
    CalculateAvgReportScoreStandardDataComReqDto calculateAvgReportScoreStandardDataComReqDto=new CalculateAvgReportScoreStandardDataComReqDto();
  if(reqDto!=null){
      calculateAvgReportScoreStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896658_1_39996
calculateAvgReportScoreStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896655_1_39996
      calculateAvgReportScoreStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896652_1_39996
calculateAvgReportScoreStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896653_1_39996
calculateAvgReportScoreStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1085666_1_39996
calculateAvgReportScoreStandardDataComReqDto.setLastCycleType(reqDto.getLastCycleType());//SimpleFieldAssign//sourceId:896657_1_39996
calculateAvgReportScoreStandardDataComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1212454_1_39996
calculateAvgReportScoreStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896654_1_39996
    }

    /*D4-计算汇报平均分[5763]   */
    Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算汇报平均分-小数点规则不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算汇报平均分-小数最后一位规则不能为空",false);
    Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算汇报平均分-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算汇报平均分-周期ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getTargetId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算汇报平均分-冗余目标ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算汇报平均分-冗余评价模板ID不能为空",false);
      calculateAvgReportScoreStandardDataComRespDto = standardDataService.calculateAvgReportScoreStandardDataCom(calculateAvgReportScoreStandardDataComReqDto)/*vcase invoke isSameApp*/;



ObtainMidProgressCycleStaDataComRespDto obtainMidProgressCycleStaDataComRespDto = null;
    ObtainMidProgressCycleStaDataComReqDto obtainMidProgressCycleStaDataComReqDto=new ObtainMidProgressCycleStaDataComReqDto();
  obtainMidProgressCycleStaDataComReqDto.setDataType("REPORT_SCORE");//sourceId:896663_1_39997
if(reqDto!=null){
      obtainMidProgressCycleStaDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896662_1_39997
obtainMidProgressCycleStaDataComReqDto.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:896660_1_39997
obtainMidProgressCycleStaDataComReqDto.setCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:896661_1_39997
obtainMidProgressCycleStaDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896659_1_39997
    }

    /*D3-获取过程中期标准数据(公共)[6463]   */
    Assert.isNull(obtainMidProgressCycleStaDataComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D3-获取过程中期标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(obtainMidProgressCycleStaDataComReqDto.getDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D3-获取过程中期标准数据(公共)-数据点类型不能为空",false);
Assert.isNull(obtainMidProgressCycleStaDataComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D3-获取过程中期标准数据(公共)-冗余评价模板ID不能为空",false);
      obtainMidProgressCycleStaDataComRespDto = fwAppGridCalculateClient.obtainMidProgressCycleStaDataCom(obtainMidProgressCycleStaDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



CalculateLowKrReportScoreComRespDto calculateLowKrReportScoreComRespDto = null;
    CalculateLowKrReportScoreComReqDto calculateLowKrReportScoreComReqDto=new CalculateLowKrReportScoreComReqDto();
  calculateLowKrReportScoreComReqDto.setDataType("REPORT_SCORE");//sourceId:896669_1_39998
if(reqDto!=null){
      calculateLowKrReportScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896675_1_39998
calculateLowKrReportScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896676_1_39998
calculateLowKrReportScoreComReqDto.setIsOkrPlanScene(reqDto.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1062656_1_39998
calculateLowKrReportScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896667_1_39998
calculateLowKrReportScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896668_1_39998
calculateLowKrReportScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896670_1_39998
calculateLowKrReportScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896666_1_39998
calculateLowKrReportScoreComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:896671_1_39998
calculateLowKrReportScoreComReqDto.setComFloatField2(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:896674_1_39998
calculateLowKrReportScoreComReqDto.setComFloatField1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:896673_1_39998
calculateLowKrReportScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896672_1_39998
    }

    /*D4-计算下级KR得分(公共)[6458]   */
    Assert.isNull(calculateLowKrReportScoreComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-数据点类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-冗余评价模板ID不能为空",false);
      calculateLowKrReportScoreComRespDto = calculateLowKrReportScoreCom(calculateLowKrReportScoreComReqDto)/*vcase invoke 同服务,同domain*/;



ImplementSubCycleReportScoreFormulaComRespDto implementSubCycleReportScoreFormulaComRespDto = null;
    if(implementCalcSubjectiveScoreComRespDto !=null&&calculateQuantizedScoreComRespDto !=null&&calculateAvgReportScoreStandardDataComRespDto !=null&&obtainMidProgressCycleStaDataComRespDto !=null&&calculateLowKrReportScoreComRespDto !=null){
          ImplementSubCycleReportScoreFormulaComReqDto implementSubCycleReportScoreFormulaComReqDto=new ImplementSubCycleReportScoreFormulaComReqDto();
  if(reqDto!=null){
      implementSubCycleReportScoreFormulaComReqDto.setSubAndObjModel(reqDto.getSubAndObjModel());//SimpleFieldAssign//sourceId:896691_1_39999
implementSubCycleReportScoreFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:896689_1_39999
implementSubCycleReportScoreFormulaComReqDto.setOpenOrCloseMidProcess(reqDto.getOpenOrCloseMidProcess());//SimpleFieldAssign//sourceId:896695_1_39999
implementSubCycleReportScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896682_1_39999
implementSubCycleReportScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896683_1_39999
implementSubCycleReportScoreFormulaComReqDto.setSubjectiveScoreWeight(reqDto.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:896685_1_39999
implementSubCycleReportScoreFormulaComReqDto.setObjectiveScoreWeight(reqDto.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:896686_1_39999
implementSubCycleReportScoreFormulaComReqDto.setProcessReportScoreAvgWeight(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:896687_1_39999
implementSubCycleReportScoreFormulaComReqDto.setProcessReportScoreProMidWeight(reqDto.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:896692_1_39999
implementSubCycleReportScoreFormulaComReqDto.setProcessReportScoreKrWeight(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:896684_1_39999
implementSubCycleReportScoreFormulaComReqDto.setReportScoreProcessWeight(reqDto.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:896697_1_39999
implementSubCycleReportScoreFormulaComReqDto.setReportScoreSubAndObjWeight(reqDto.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:896698_1_39999
    }
if(implementCalcSubjectiveScoreComRespDto!=null){
      implementSubCycleReportScoreFormulaComReqDto.setSubjectiveScore(implementCalcSubjectiveScoreComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:896690_1_39999
    }
if(calculateQuantizedScoreComRespDto!=null){
      implementSubCycleReportScoreFormulaComReqDto.setObjectiveScore(calculateQuantizedScoreComRespDto.getObjectiveScore());//SimpleFieldAssign//sourceId:896688_1_39999
    }
if(calculateAvgReportScoreStandardDataComRespDto!=null){
      implementSubCycleReportScoreFormulaComReqDto.setComFloatField(calculateAvgReportScoreStandardDataComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:896693_1_39999
    }
if(obtainMidProgressCycleStaDataComRespDto!=null){
      implementSubCycleReportScoreFormulaComReqDto.setComFloatField1(obtainMidProgressCycleStaDataComRespDto.getDataResult());//SimpleFieldAssign//sourceId:896694_1_39999
    }
if(calculateLowKrReportScoreComRespDto!=null){
      implementSubCycleReportScoreFormulaComReqDto.setComFloatField2(calculateLowKrReportScoreComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896696_1_39999
    }

    /*D4-执行子周期汇报得分计算公式(公共)[6443]   */
Assert.isNull(implementSubCycleReportScoreFormulaComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行子周期汇报得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementSubCycleReportScoreFormulaComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行子周期汇报得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementSubCycleReportScoreFormulaComRespDto = implementSubCycleReportScoreFormulaCom(implementSubCycleReportScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(implementSubCycleReportScoreFormulaComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(implementSubCycleReportScoreFormulaComRespDto!=null){
      unifiedRefreshStandardDataComReqDto.setReportScoreValue(implementSubCycleReportScoreFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896705_1_40000
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959055_1_40000
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896700_1_40000
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896701_1_40000
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896702_1_40000
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896707_1_40000
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082405_1_40000
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896703_1_40000
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896704_1_40000
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("REPORT_SCORE");//sourceId:896712_1_40001
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:896713_1_40001
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:896714_1_40001
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896718_1_40001
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896719_1_40001
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896710_1_40001
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896711_1_40001
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896715_1_40001
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896717_1_40001
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896716_1_40001
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



CalculateFatherCycleActualScoreComRespDto calculateFatherCycleActualScoreComRespDto = null;
    if(implementSubCycleReportScoreFormulaComRespDto !=null){
          CalculateFatherCycleActualScoreComReqDto calculateFatherCycleActualScoreComReqDto=new CalculateFatherCycleActualScoreComReqDto();
  if(reqDto!=null){
      calculateFatherCycleActualScoreComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959056_1_40004
      calculateFatherCycleActualScoreComReqDto.setActualScoreIncludeRank(reqDto.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:898604_1_40004
calculateFatherCycleActualScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896721_1_40004
calculateFatherCycleActualScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896722_1_40004
calculateFatherCycleActualScoreComReqDto.setActualScoreLocalLevelWeight(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:896724_1_40004
calculateFatherCycleActualScoreComReqDto.setActualScoreLowerLevelWeight(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:896725_1_40004
calculateFatherCycleActualScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896727_1_40004
calculateFatherCycleActualScoreComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:896726_1_40004
calculateFatherCycleActualScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896728_1_40004
calculateFatherCycleActualScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896732_1_40004
calculateFatherCycleActualScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896729_1_40004
calculateFatherCycleActualScoreComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896731_1_40004
calculateFatherCycleActualScoreComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082406_1_40004
calculateFatherCycleActualScoreComReqDto.setLowIndicatorKindO(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:1045831_1_40004
calculateFatherCycleActualScoreComReqDto.setLowIndicatorKindKr(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:1045832_1_40004
calculateFatherCycleActualScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896730_1_40004
    }
if(implementSubCycleReportScoreFormulaComRespDto!=null){
      calculateFatherCycleActualScoreComReqDto.setReportScoreValue(implementSubCycleReportScoreFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896723_1_40004
    }

    /*D4-计算父子中周期实际得分(公共)[6459]   */
    Assert.isNull(calculateFatherCycleActualScoreComReqDto.getStandardDataCalcCycleModel(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getActualScoreIncludeRank(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-执行实际得分计算公式不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-冗余评价模板ID不能为空",false);
      calculateFatherCycleActualScoreComRespDto = calculateFatherCycleActualScoreCom(calculateFatherCycleActualScoreComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&&  reqDto.getRankOrDownCalc() !=null && reqDto.getRankOrDownCalc().equals("DOWN_CALC"))){
       //elseif(D4-计算子周期汇报得分及实际得分(公共).计算本级或下级 等于 计算下级)  39983

ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto=new ImplementCalcLowerLevelComReqDto();
implementCalcLowerLevelComReqDto.setDataType("REPORT_SCORE");//sourceId:896740_1_39990
if(reqDto!=null){
      implementCalcLowerLevelComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896733_1_39990
implementCalcLowerLevelComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896734_1_39990
implementCalcLowerLevelComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896736_1_39990
implementCalcLowerLevelComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896737_1_39990
implementCalcLowerLevelComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1062706_1_39990
implementCalcLowerLevelComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:896739_1_39990
implementCalcLowerLevelComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896741_1_39990
implementCalcLowerLevelComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896738_1_39990
    }

    /*D4-执行计算下级数据点权重和(公共)[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateLowKrReportScoreComRespDto calculateLowKrReportScoreComRespDto_2 = null;
    CalculateLowKrReportScoreComReqDto calculateLowKrReportScoreComReqDto_1=new CalculateLowKrReportScoreComReqDto();
calculateLowKrReportScoreComReqDto_1.setDataType("REPORT_SCORE");//sourceId:896669_1_42726
if(reqDto!=null){
      calculateLowKrReportScoreComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896675_1_42726
calculateLowKrReportScoreComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896676_1_42726
calculateLowKrReportScoreComReqDto_1.setIsOkrPlanScene(reqDto.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1062656_1_42726
calculateLowKrReportScoreComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896667_1_42726
calculateLowKrReportScoreComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896668_1_42726
calculateLowKrReportScoreComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896670_1_42726
calculateLowKrReportScoreComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896666_1_42726
calculateLowKrReportScoreComReqDto_1.setIndicatorKind(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:896671_1_42726
calculateLowKrReportScoreComReqDto_1.setComFloatField2(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:896674_1_42726
calculateLowKrReportScoreComReqDto_1.setComFloatField1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:896673_1_42726
calculateLowKrReportScoreComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896672_1_42726
    }

    /*D4-计算下级KR得分(公共)[6458]   */
    Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-数据点类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-冗余评价模板ID不能为空",false);
      calculateLowKrReportScoreComRespDto_2 = calculateLowKrReportScoreCom(calculateLowKrReportScoreComReqDto_1)/*vcase invoke 同服务,同domain*/;



ImplementReportScoreDownCalcFormulaComRespDto implementReportScoreDownCalcFormulaComRespDto = null;
    if(implementCalcLowerLevelComRespDto !=null&&calculateLowKrReportScoreComRespDto_2 !=null){
          ImplementReportScoreDownCalcFormulaComReqDto implementReportScoreDownCalcFormulaComReqDto=new ImplementReportScoreDownCalcFormulaComReqDto();
  if(reqDto!=null){
      implementReportScoreDownCalcFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:976873_1_42744
implementReportScoreDownCalcFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:976874_1_42744
implementReportScoreDownCalcFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:976875_1_42744
implementReportScoreDownCalcFormulaComReqDto.setCountProObWeight(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:988107_1_42744
implementReportScoreDownCalcFormulaComReqDto.setCountProKrWeight(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:988108_1_42744
    }
if(implementCalcLowerLevelComRespDto!=null){
      implementReportScoreDownCalcFormulaComReqDto.setOReportScoreValue(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:976878_1_42744
    }
if(calculateLowKrReportScoreComRespDto_2!=null){
      implementReportScoreDownCalcFormulaComReqDto.setKrReportScoreValue(calculateLowKrReportScoreComRespDto_2.getReportScoreValue());//SimpleFieldAssign//sourceId:976879_1_42744
    }

    /*D4-执行汇报得分向下计算公式(公共)[6940]   */
    Assert.isNull(implementReportScoreDownCalcFormulaComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行汇报得分向下计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementReportScoreDownCalcFormulaComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行汇报得分向下计算公式(公共)-小数最后一位规则不能为空",false);
      implementReportScoreDownCalcFormulaComRespDto = implementReportScoreDownCalcFormulaCom(implementReportScoreDownCalcFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_1 = null;
    if(implementReportScoreDownCalcFormulaComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_1=new UnifiedRefreshStandardDataComReqDto();
  if(implementReportScoreDownCalcFormulaComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setReportScoreValue(implementReportScoreDownCalcFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896705_1_39991
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959055_1_39991
      unifiedRefreshStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896700_1_39991
unifiedRefreshStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896701_1_39991
unifiedRefreshStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896702_1_39991
unifiedRefreshStandardDataComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896707_1_39991
unifiedRefreshStandardDataComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082405_1_39991
unifiedRefreshStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896703_1_39991
unifiedRefreshStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896704_1_39991
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getStandardDataCalcCycleModel(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_1 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setSourceDataType("REPORT_SCORE");//sourceId:896712_1_39992
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:896713_1_39992
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:896714_1_39992
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896718_1_39992
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896719_1_39992
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896710_1_39992
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896711_1_39992
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896715_1_39992
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896717_1_39992
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896716_1_39992
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getSourceDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCalcDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



CalculateFatherCycleActualScoreComRespDto calculateFatherCycleActualScoreComRespDto_1 = null;
    if(implementReportScoreDownCalcFormulaComRespDto !=null){
          CalculateFatherCycleActualScoreComReqDto calculateFatherCycleActualScoreComReqDto_1=new CalculateFatherCycleActualScoreComReqDto();
  if(reqDto!=null){
      calculateFatherCycleActualScoreComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959056_1_39993
      calculateFatherCycleActualScoreComReqDto_1.setActualScoreIncludeRank(reqDto.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:898604_1_39993
      calculateFatherCycleActualScoreComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896721_1_39993
calculateFatherCycleActualScoreComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896722_1_39993
calculateFatherCycleActualScoreComReqDto_1.setActualScoreLocalLevelWeight(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:896724_1_39993
calculateFatherCycleActualScoreComReqDto_1.setActualScoreLowerLevelWeight(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:896725_1_39993
calculateFatherCycleActualScoreComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896727_1_39993
calculateFatherCycleActualScoreComReqDto_1.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:896726_1_39993
calculateFatherCycleActualScoreComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896728_1_39993
calculateFatherCycleActualScoreComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896732_1_39993
calculateFatherCycleActualScoreComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896729_1_39993
calculateFatherCycleActualScoreComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896731_1_39993
calculateFatherCycleActualScoreComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082406_1_39993
calculateFatherCycleActualScoreComReqDto_1.setLowIndicatorKindO(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:1045831_1_39993
calculateFatherCycleActualScoreComReqDto_1.setLowIndicatorKindKr(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:1045832_1_39993
calculateFatherCycleActualScoreComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896730_1_39993
    }
if(implementReportScoreDownCalcFormulaComRespDto!=null){
      calculateFatherCycleActualScoreComReqDto_1.setReportScoreValue(implementReportScoreDownCalcFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896723_1_39993
    }

    /*D4-计算父子中周期实际得分(公共)[6459]   */
    Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getStandardDataCalcCycleModel(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getActualScoreIncludeRank(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-执行实际得分计算公式不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-冗余评价模板ID不能为空",false);
      calculateFatherCycleActualScoreComRespDto_1 = calculateFatherCycleActualScoreCom(calculateFatherCycleActualScoreComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
    }
else{
       //else  45447

//异常结束 45448
      throw new BizException("C10100249","子周期得分计算公式错误~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CLONE_FROM_EVA_SUBJECT")||reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CLONE_FROM_OKR_PERSON"))){
       //elseif((D4-计算子周期汇报得分及实际得分(公共).计算或克隆 等于 从评价对象树克隆 or D4-计算子周期汇报得分及实际得分(公共).计算或克隆 等于 从OKR个人树克隆))  39980

ImplementReportScoreCloneFromOtherTreeComRespDto implementReportScoreCloneFromOtherTreeComRespDto = null;
    ImplementReportScoreCloneFromOtherTreeComReqDto implementReportScoreCloneFromOtherTreeComReqDto=new ImplementReportScoreCloneFromOtherTreeComReqDto();
  if(reqDto!=null){
      implementReportScoreCloneFromOtherTreeComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896747_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896748_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896744_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896745_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896749_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896746_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896743_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:896750_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setComFloatField1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:1085125_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setComFloatField2(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:1085126_1_39984
implementReportScoreCloneFromOtherTreeComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896742_1_39984
    }

    /*D4-执行跨树克隆汇报得分(公共)[6453]   */
    Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-小数点规则不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-更新周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-冗余评价模板ID不能为空",false);
      implementReportScoreCloneFromOtherTreeComRespDto = implementReportScoreCloneFromOtherTreeCom(implementReportScoreCloneFromOtherTreeComReqDto)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_2 = null;
    if(implementReportScoreCloneFromOtherTreeComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_2=new UnifiedRefreshStandardDataComReqDto();
  if(implementReportScoreCloneFromOtherTreeComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_2.setReportScoreValue(implementReportScoreCloneFromOtherTreeComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896705_1_39985
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_2.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959055_1_39985
      unifiedRefreshStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896700_1_39985
unifiedRefreshStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896701_1_39985
unifiedRefreshStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896702_1_39985
unifiedRefreshStandardDataComReqDto_2.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896707_1_39985
unifiedRefreshStandardDataComReqDto_2.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082405_1_39985
unifiedRefreshStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896703_1_39985
unifiedRefreshStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896704_1_39985
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getStandardDataCalcCycleModel(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_2 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_2 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setSourceDataType("REPORT_SCORE");//sourceId:896712_1_39986
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:896713_1_39986
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:896714_1_39986
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896718_1_39986
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896719_1_39986
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896710_1_39986
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896711_1_39986
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896715_1_39986
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896717_1_39986
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896716_1_39986
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getSourceDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getCalcDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_2 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



QuerySourceTreeActualScoreDataDetailComRespDto querySourceTreeActualScoreDataDetailComRespDto = null;
    QuerySourceTreeActualScoreDataDetailComReqDto querySourceTreeActualScoreDataDetailComReqDto=new QuerySourceTreeActualScoreDataDetailComReqDto();
  if(reqDto!=null){
      querySourceTreeActualScoreDataDetailComReqDto.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:898533_1_40156
querySourceTreeActualScoreDataDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898532_1_40156
querySourceTreeActualScoreDataDetailComReqDto.setCustomField1(reqDto.getComFloatField()!=null?String.valueOf(reqDto.getComFloatField()):"");//SimpleFieldAssign//sourceId:1085120_1_40156
querySourceTreeActualScoreDataDetailComReqDto.setCustomField2(reqDto.getWeightScore()!=null?String.valueOf(reqDto.getWeightScore()):"");//SimpleFieldAssign//sourceId:1085121_1_40156
querySourceTreeActualScoreDataDetailComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1085122_1_40156
querySourceTreeActualScoreDataDetailComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1085123_1_40156
    }

    /*D4-查询来源树实际得分数据详情(公共)[6492]   */
    Assert.isNull(querySourceTreeActualScoreDataDetailComReqDto.getDataResultId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-查询来源树实际得分数据详情(公共)-数据结果ID 不能为空",false);
Assert.isNull(querySourceTreeActualScoreDataDetailComReqDto.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-查询来源树实际得分数据详情(公共)-冗余评价模板ID不能为空",false);
      querySourceTreeActualScoreDataDetailComRespDto = querySourceTreeActualScoreDataDetailCom(querySourceTreeActualScoreDataDetailComReqDto)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_3 = null;
    if(querySourceTreeActualScoreDataDetailComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_3=new UnifiedRefreshStandardDataComReqDto();
  if(querySourceTreeActualScoreDataDetailComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_3.setActualScoreValue(querySourceTreeActualScoreDataDetailComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:896706_1_39988
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_3.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959055_1_39988
      unifiedRefreshStandardDataComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896700_1_39988
unifiedRefreshStandardDataComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896701_1_39988
unifiedRefreshStandardDataComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896702_1_39988
unifiedRefreshStandardDataComReqDto_3.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896707_1_39988
unifiedRefreshStandardDataComReqDto_3.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082405_1_39988
unifiedRefreshStandardDataComReqDto_3.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896703_1_39988
unifiedRefreshStandardDataComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896704_1_39988
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getStandardDataCalcCycleModel(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_3 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_3)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_3 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setSourceDataType("ACTUAL_SCORE");//sourceId:898538_1_40157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setCalcDataType("FROM_LAST_ACTUAL_SCORE");//sourceId:898539_1_40157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDataType("FROM_LAST_RATIO_ACTUAL_SCORE");//sourceId:898540_1_40157
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:898536_1_40157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:898537_1_40157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:898541_1_40157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:898543_1_40157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:898544_1_40157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:898545_1_40157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898542_1_40157
    }

    /*D4-计算较上次变化值及增降幅标准数据（实际得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getSourceDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getCalcDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_3 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3)/*vcase invoke isSameApp*/;



CalculateReachComRespDto calculateReachComRespDto = null;
    if(querySourceTreeActualScoreDataDetailComRespDto !=null){
          CalculateReachComReqDto calculateReachComReqDto=new CalculateReachComReqDto();
  if(querySourceTreeActualScoreDataDetailComRespDto!=null){
      calculateReachComReqDto.setActualScoreValue(querySourceTreeActualScoreDataDetailComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:1084894_1_47442
    }
if(reqDto!=null){
      calculateReachComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:1084897_1_47442
calculateReachComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1084895_1_47442
calculateReachComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1084896_1_47442
    }

    /*D4-计算达成度(公共)[6460]   */
    Assert.isNull(calculateReachComReqDto.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算达成度(公共)-小数点规则不能为空",false);
Assert.isNull(calculateReachComReqDto.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算达成度(公共)-小数最后一位规则不能为空",false);
      calculateReachComRespDto = calculateReachCom(calculateReachComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_4 = null;
    if(calculateReachComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_4=new UnifiedRefreshStandardDataComReqDto();
  if(calculateReachComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_4.setReach(calculateReachComRespDto.getReach());//SimpleFieldAssign//sourceId:1084909_1_47443
    }
if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_4.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959055_1_47443
unifiedRefreshStandardDataComReqDto_4.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896700_1_47443
unifiedRefreshStandardDataComReqDto_4.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896701_1_47443
unifiedRefreshStandardDataComReqDto_4.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896702_1_47443
unifiedRefreshStandardDataComReqDto_4.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896707_1_47443
unifiedRefreshStandardDataComReqDto_4.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082405_1_47443
unifiedRefreshStandardDataComReqDto_4.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896703_1_47443
unifiedRefreshStandardDataComReqDto_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896704_1_47443
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getStandardDataCalcCycleModel(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getParentSubMidCycleType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_4 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_4)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_4 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setSourceDataType("REACH");//sourceId:1084901_1_47444
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setCalcDataType("FROM_LAST_REACH");//sourceId:1084902_1_47444
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDataType("ACTUAL_FROM_LAST_TIME_RATIO");//sourceId:1084903_1_47444
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1084899_1_47444
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1084900_1_47444
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1084904_1_47444
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:1084906_1_47444
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1084907_1_47444
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1084908_1_47444
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1084905_1_47444
    }

    /*D4-计算较上次变化值及增降幅标准数据（达成度）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getEvaObjTargetCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getUpdateCycleId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getSourceDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getCalcDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDataType(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDecimalPointRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDecimalDigitsLastRules(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getEvaluationTemplateId(),"D4-计算子周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_4 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4)/*vcase invoke isSameApp*/;



    }
else{
       //else  45449

//异常结束 45450
      throw new BizException("C10100249","子周期得分计算公式错误~",false);
    }
CalculateSubCycleReportAndActualScoreComRespDto retData = new CalculateSubCycleReportAndActualScoreComRespDto();





return retData;
  }
/**
   * D4-计算中期汇报得分及实际得分(公共)[6435]
   * gen by moon at 4/30/2024, 1:54:57 PM
   */
  @Trace(operationName = "D4-计算中期汇报得分及实际得分(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public CalculateMidCycleReportAndActualScoreComRespDto calculateMidCycleReportAndActualScoreCom(CalculateMidCycleReportAndActualScoreComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CALC"))) {
        //if(D4-计算中期汇报得分及实际得分(公共).计算或克隆 等于 计算)  40005

if((reqDto!= null&&  reqDto.getRankOrDownCalc() !=null && reqDto.getRankOrDownCalc().equals("RANK_CALC"))) {
        //if(D4-计算中期汇报得分及实际得分(公共).计算本级或下级 等于 计算本级)  40008

ImplementCalcSubjectiveScoreComRespDto implementCalcSubjectiveScoreComRespDto = null;
    ImplementCalcSubjectiveScoreComReqDto implementCalcSubjectiveScoreComReqDto=new ImplementCalcSubjectiveScoreComReqDto();
if(reqDto!=null){
      implementCalcSubjectiveScoreComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:958979_1_42215
      implementCalcSubjectiveScoreComReqDto.setSubjectiveRatingTotalValue(reqDto.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:958983_1_42215
implementCalcSubjectiveScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:958972_1_42215
implementCalcSubjectiveScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:958973_1_42215
implementCalcSubjectiveScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:958974_1_42215
implementCalcSubjectiveScoreComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:958984_1_42215
implementCalcSubjectiveScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:958975_1_42215
implementCalcSubjectiveScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:958976_1_42215
implementCalcSubjectiveScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:958977_1_42215
implementCalcSubjectiveScoreComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:958978_1_42215
implementCalcSubjectiveScoreComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:958980_1_42215
implementCalcSubjectiveScoreComReqDto.setReportObjectSetCode(reqDto.getReportObjectSetCode());//SimpleFieldAssign//sourceId:958981_1_42215
implementCalcSubjectiveScoreComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083925_1_42215
implementCalcSubjectiveScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:958982_1_42215
    }

    /*D4-执行计算主观得分(公共)[6827]   */
//    Assert.isNull(implementCalcSubjectiveScoreComReqDto.getStandardDataCalcCycleModel(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-标准数据计算周期模型不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-小数点规则不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-小数最后一位规则不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-被评对象目标周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-更新周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-父子中周期类型不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getTargetCycleContentTypeCode(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-关联目标内容类型编码不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-冗余评价模板ID不能为空",false);
//      implementCalcSubjectiveScoreComRespDto = implementCalcSubjectiveScoreCom(implementCalcSubjectiveScoreComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateQuantizedScoreComRespDto calculateQuantizedScoreComRespDto = null;
    CalculateQuantizedScoreComReqDto calculateQuantizedScoreComReqDto=new CalculateQuantizedScoreComReqDto();


    /*D4-计算量化得分(公共)[6439]   */

      calculateQuantizedScoreComRespDto = calculateQuantized_scoreCom(calculateQuantizedScoreComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateAvgReportScoreStandardDataComRespDto calculateAvgReportScoreStandardDataComRespDto = null;
    CalculateAvgReportScoreStandardDataComReqDto calculateAvgReportScoreStandardDataComReqDto=new CalculateAvgReportScoreStandardDataComReqDto();
  if(reqDto!=null){
      calculateAvgReportScoreStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896912_1_40022
calculateAvgReportScoreStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896909_1_40022
      calculateAvgReportScoreStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896906_1_40022
calculateAvgReportScoreStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896907_1_40022
calculateAvgReportScoreStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1085667_1_40022
calculateAvgReportScoreStandardDataComReqDto.setLastCycleType(reqDto.getLastCycleType());//SimpleFieldAssign//sourceId:896911_1_40022
calculateAvgReportScoreStandardDataComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1212457_1_40022
calculateAvgReportScoreStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896908_1_40022
    }

    /*D4-计算汇报平均分[5763]   */
    Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算汇报平均分-小数点规则不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算汇报平均分-小数最后一位规则不能为空",false);
    Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算汇报平均分-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算汇报平均分-周期ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getTargetId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算汇报平均分-冗余目标ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算汇报平均分-冗余评价模板ID不能为空",false);
      calculateAvgReportScoreStandardDataComRespDto = standardDataService.calculateAvgReportScoreStandardDataCom(calculateAvgReportScoreStandardDataComReqDto)/*vcase invoke isSameApp*/;



CalculateLowKrReportScoreComRespDto calculateLowKrReportScoreComRespDto = null;
    CalculateLowKrReportScoreComReqDto calculateLowKrReportScoreComReqDto=new CalculateLowKrReportScoreComReqDto();
  calculateLowKrReportScoreComReqDto.setDataType("REPORT_SCORE");//sourceId:896916_1_40023
if(reqDto!=null){
      calculateLowKrReportScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896922_1_40023
calculateLowKrReportScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896923_1_40023
calculateLowKrReportScoreComReqDto.setIsOkrPlanScene(reqDto.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1062718_1_40023
      calculateLowKrReportScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896913_1_40023
calculateLowKrReportScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896914_1_40023
calculateLowKrReportScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896915_1_40023
calculateLowKrReportScoreComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:896918_1_40023
calculateLowKrReportScoreComReqDto.setComFloatField1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:896920_1_40023
calculateLowKrReportScoreComReqDto.setComFloatField2(reqDto.getWeightValue());//SimpleFieldAssign//sourceId:896921_1_40023
calculateLowKrReportScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896917_1_40023
calculateLowKrReportScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896919_1_40023
    }

    /*D4-计算下级KR得分(公共)[6458]   */
    Assert.isNull(calculateLowKrReportScoreComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数最后一位规则不能为空",false);
    Assert.isNull(calculateLowKrReportScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-数据点类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-冗余评价模板ID不能为空",false);
      calculateLowKrReportScoreComRespDto = calculateLowKrReportScoreCom(calculateLowKrReportScoreComReqDto)/*vcase invoke 同服务,同domain*/;



ImplementMidCycleReportScoreFormulaComRespDto implementMidCycleReportScoreFormulaComRespDto = null;
    if(implementCalcSubjectiveScoreComRespDto !=null&&calculateQuantizedScoreComRespDto !=null&&calculateAvgReportScoreStandardDataComRespDto !=null&&calculateLowKrReportScoreComRespDto !=null){
          ImplementMidCycleReportScoreFormulaComReqDto implementMidCycleReportScoreFormulaComReqDto=new ImplementMidCycleReportScoreFormulaComReqDto();
  if(reqDto!=null){
      implementMidCycleReportScoreFormulaComReqDto.setSubAndObjModel(reqDto.getSubAndObjModel());//SimpleFieldAssign//sourceId:896935_1_40024
implementMidCycleReportScoreFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:988121_1_40024
implementMidCycleReportScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896925_1_40024
implementMidCycleReportScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896926_1_40024
implementMidCycleReportScoreFormulaComReqDto.setSubjectiveScoreWeight(reqDto.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:896928_1_40024
implementMidCycleReportScoreFormulaComReqDto.setObjectiveScoreWeight(reqDto.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:896929_1_40024
implementMidCycleReportScoreFormulaComReqDto.setProcessReportScoreAvgWeight(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:896930_1_40024
implementMidCycleReportScoreFormulaComReqDto.setProcessReportScoreKrWeight(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:896927_1_40024
implementMidCycleReportScoreFormulaComReqDto.setReportScoreProcessWeight(reqDto.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:896931_1_40024
implementMidCycleReportScoreFormulaComReqDto.setReportScoreSubAndObjWeight(reqDto.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:896932_1_40024
    }
if(implementCalcSubjectiveScoreComRespDto!=null){
      implementMidCycleReportScoreFormulaComReqDto.setSubjectiveScore(implementCalcSubjectiveScoreComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:896936_1_40024
    }
if(calculateQuantizedScoreComRespDto!=null){
      implementMidCycleReportScoreFormulaComReqDto.setObjectiveScore(calculateQuantizedScoreComRespDto.getObjectiveScore());//SimpleFieldAssign//sourceId:896933_1_40024
    }
if(calculateAvgReportScoreStandardDataComRespDto!=null){
      implementMidCycleReportScoreFormulaComReqDto.setComFloatField(calculateAvgReportScoreStandardDataComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:896937_1_40024
    }
if(calculateLowKrReportScoreComRespDto!=null){
      implementMidCycleReportScoreFormulaComReqDto.setComFloatField1(calculateLowKrReportScoreComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896938_1_40024
    }

    /*D4-执行中期汇报得分计算公式(公共)[6445]   */
Assert.isNull(implementMidCycleReportScoreFormulaComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行中期汇报得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementMidCycleReportScoreFormulaComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行中期汇报得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementMidCycleReportScoreFormulaComRespDto = implementMidCycleReportScoreFormulaCom(implementMidCycleReportScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(implementMidCycleReportScoreFormulaComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(implementMidCycleReportScoreFormulaComRespDto!=null){
      unifiedRefreshStandardDataComReqDto.setReportScoreValue(implementMidCycleReportScoreFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896946_1_40025
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959057_1_40025
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896941_1_40025
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896942_1_40025
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896943_1_40025
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896948_1_40025
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896944_1_40025
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082409_1_40025
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896945_1_40025
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("REPORT_SCORE");//sourceId:896953_1_40026
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:896954_1_40026
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:896955_1_40026
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896959_1_40026
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896960_1_40026
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896951_1_40026
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896952_1_40026
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896956_1_40026
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896958_1_40026
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896957_1_40026
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



CalculateFatherCycleActualScoreComRespDto calculateFatherCycleActualScoreComRespDto = null;
    if(implementMidCycleReportScoreFormulaComRespDto !=null){
          CalculateFatherCycleActualScoreComReqDto calculateFatherCycleActualScoreComReqDto=new CalculateFatherCycleActualScoreComReqDto();
  if(reqDto!=null){
      calculateFatherCycleActualScoreComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959058_1_40027
      calculateFatherCycleActualScoreComReqDto.setActualScoreIncludeRank(reqDto.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:896974_1_40027
calculateFatherCycleActualScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896962_1_40027
calculateFatherCycleActualScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896963_1_40027
calculateFatherCycleActualScoreComReqDto.setActualScoreLocalLevelWeight(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:896965_1_40027
calculateFatherCycleActualScoreComReqDto.setActualScoreLowerLevelWeight(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:896966_1_40027
calculateFatherCycleActualScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896968_1_40027
calculateFatherCycleActualScoreComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:896967_1_40027
calculateFatherCycleActualScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896969_1_40027
calculateFatherCycleActualScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896973_1_40027
calculateFatherCycleActualScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896970_1_40027
calculateFatherCycleActualScoreComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896972_1_40027
calculateFatherCycleActualScoreComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082410_1_40027
calculateFatherCycleActualScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896971_1_40027
calculateFatherCycleActualScoreComReqDto.setLowIndicatorKindO(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:1045833_1_40027
calculateFatherCycleActualScoreComReqDto.setLowIndicatorKindKr(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:1045834_1_40027
    }
if(implementMidCycleReportScoreFormulaComRespDto!=null){
      calculateFatherCycleActualScoreComReqDto.setReportScoreValue(implementMidCycleReportScoreFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896964_1_40027
    }

    /*D4-计算父子中周期实际得分(公共)[6459]   */
    Assert.isNull(calculateFatherCycleActualScoreComReqDto.getStandardDataCalcCycleModel(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getActualScoreIncludeRank(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-执行实际得分计算公式不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-冗余评价模板ID不能为空",false);
      calculateFatherCycleActualScoreComRespDto = calculateFatherCycleActualScoreCom(calculateFatherCycleActualScoreComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&&  reqDto.getRankOrDownCalc() !=null && reqDto.getRankOrDownCalc().equals("DOWN_CALC"))){
       //elseif(D4-计算中期汇报得分及实际得分(公共).计算本级或下级 等于 计算下级)  40009

ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto=new ImplementCalcLowerLevelComReqDto();
implementCalcLowerLevelComReqDto.setDataType("REPORT_SCORE");//sourceId:896994_1_40016
if(reqDto!=null){
      implementCalcLowerLevelComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896987_1_40016
implementCalcLowerLevelComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896988_1_40016
implementCalcLowerLevelComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896990_1_40016
implementCalcLowerLevelComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896991_1_40016
implementCalcLowerLevelComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1062745_1_40016
implementCalcLowerLevelComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:896993_1_40016
implementCalcLowerLevelComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896995_1_40016
implementCalcLowerLevelComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896992_1_40016
    }

    /*D4-执行计算下级数据点权重和(公共)[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateLowKrReportScoreComRespDto calculateLowKrReportScoreComRespDto_2 = null;
    CalculateLowKrReportScoreComReqDto calculateLowKrReportScoreComReqDto_1=new CalculateLowKrReportScoreComReqDto();
  calculateLowKrReportScoreComReqDto_1.setDataType("REPORT_SCORE");//sourceId:896916_1_42745
if(reqDto!=null){
      calculateLowKrReportScoreComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896922_1_42745
calculateLowKrReportScoreComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896923_1_42745
calculateLowKrReportScoreComReqDto_1.setIsOkrPlanScene(reqDto.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1062718_1_42745
      calculateLowKrReportScoreComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896913_1_42745
calculateLowKrReportScoreComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896914_1_42745
calculateLowKrReportScoreComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896915_1_42745
calculateLowKrReportScoreComReqDto_1.setIndicatorKind(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:896918_1_42745
calculateLowKrReportScoreComReqDto_1.setComFloatField1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:896920_1_42745
calculateLowKrReportScoreComReqDto_1.setComFloatField2(reqDto.getWeightValue());//SimpleFieldAssign//sourceId:896921_1_42745
calculateLowKrReportScoreComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896917_1_42745
calculateLowKrReportScoreComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896919_1_42745
    }

    /*D4-计算下级KR得分(公共)[6458]   */
    Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数最后一位规则不能为空",false);
    Assert.isNull(calculateLowKrReportScoreComReqDto_1.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-数据点类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-冗余评价模板ID不能为空",false);
      calculateLowKrReportScoreComRespDto_2 = calculateLowKrReportScoreCom(calculateLowKrReportScoreComReqDto_1)/*vcase invoke 同服务,同domain*/;



ImplementReportScoreDownCalcFormulaComRespDto implementReportScoreDownCalcFormulaComRespDto = null;
    if(implementCalcLowerLevelComRespDto !=null&&calculateLowKrReportScoreComRespDto_2 !=null){
          ImplementReportScoreDownCalcFormulaComReqDto implementReportScoreDownCalcFormulaComReqDto=new ImplementReportScoreDownCalcFormulaComReqDto();
  if(reqDto!=null){
      implementReportScoreDownCalcFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:976885_1_42746
implementReportScoreDownCalcFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:976886_1_42746
implementReportScoreDownCalcFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:976887_1_42746
implementReportScoreDownCalcFormulaComReqDto.setCountProObWeight(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:988122_1_42746
implementReportScoreDownCalcFormulaComReqDto.setCountProKrWeight(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:988123_1_42746
    }
if(implementCalcLowerLevelComRespDto!=null){
      implementReportScoreDownCalcFormulaComReqDto.setOReportScoreValue(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:976890_1_42746
    }
if(calculateLowKrReportScoreComRespDto_2!=null){
      implementReportScoreDownCalcFormulaComReqDto.setKrReportScoreValue(calculateLowKrReportScoreComRespDto_2.getReportScoreValue());//SimpleFieldAssign//sourceId:976891_1_42746
    }

    /*D4-执行汇报得分向下计算公式(公共)[6940]   */
    Assert.isNull(implementReportScoreDownCalcFormulaComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行汇报得分向下计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementReportScoreDownCalcFormulaComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行汇报得分向下计算公式(公共)-小数最后一位规则不能为空",false);
      implementReportScoreDownCalcFormulaComRespDto = implementReportScoreDownCalcFormulaCom(implementReportScoreDownCalcFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_1 = null;
    if(implementReportScoreDownCalcFormulaComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_1=new UnifiedRefreshStandardDataComReqDto();
  if(implementReportScoreDownCalcFormulaComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setReportScoreValue(implementReportScoreDownCalcFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896946_1_40017
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959057_1_40017
      unifiedRefreshStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896941_1_40017
unifiedRefreshStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896942_1_40017
unifiedRefreshStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896943_1_40017
unifiedRefreshStandardDataComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896948_1_40017
unifiedRefreshStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896944_1_40017
unifiedRefreshStandardDataComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082409_1_40017
unifiedRefreshStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896945_1_40017
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getStandardDataCalcCycleModel(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_1 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setSourceDataType("REPORT_SCORE");//sourceId:896953_1_40018
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:896954_1_40018
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:896955_1_40018
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896959_1_40018
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896960_1_40018
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896951_1_40018
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896952_1_40018
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896956_1_40018
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896958_1_40018
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896957_1_40018
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getSourceDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCalcDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



CalculateFatherCycleActualScoreComRespDto calculateFatherCycleActualScoreComRespDto_1 = null;
    if(implementReportScoreDownCalcFormulaComRespDto !=null){
          CalculateFatherCycleActualScoreComReqDto calculateFatherCycleActualScoreComReqDto_1=new CalculateFatherCycleActualScoreComReqDto();
  if(reqDto!=null){
      calculateFatherCycleActualScoreComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959058_1_40019
      calculateFatherCycleActualScoreComReqDto_1.setActualScoreIncludeRank(reqDto.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:896974_1_40019
calculateFatherCycleActualScoreComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896962_1_40019
calculateFatherCycleActualScoreComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896963_1_40019
calculateFatherCycleActualScoreComReqDto_1.setActualScoreLocalLevelWeight(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:896965_1_40019
calculateFatherCycleActualScoreComReqDto_1.setActualScoreLowerLevelWeight(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:896966_1_40019
calculateFatherCycleActualScoreComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896968_1_40019
calculateFatherCycleActualScoreComReqDto_1.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:896967_1_40019
calculateFatherCycleActualScoreComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896969_1_40019
calculateFatherCycleActualScoreComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896973_1_40019
calculateFatherCycleActualScoreComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896970_1_40019
calculateFatherCycleActualScoreComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896972_1_40019
calculateFatherCycleActualScoreComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082410_1_40019
calculateFatherCycleActualScoreComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896971_1_40019
calculateFatherCycleActualScoreComReqDto_1.setLowIndicatorKindO(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:1045833_1_40019
calculateFatherCycleActualScoreComReqDto_1.setLowIndicatorKindKr(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:1045834_1_40019
    }
if(implementReportScoreDownCalcFormulaComRespDto!=null){
      calculateFatherCycleActualScoreComReqDto_1.setReportScoreValue(implementReportScoreDownCalcFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896964_1_40019
    }

    /*D4-计算父子中周期实际得分(公共)[6459]   */
    Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getStandardDataCalcCycleModel(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getActualScoreIncludeRank(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-执行实际得分计算公式不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-冗余评价模板ID不能为空",false);
      calculateFatherCycleActualScoreComRespDto_1 = calculateFatherCycleActualScoreCom(calculateFatherCycleActualScoreComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
    }
else{
       //else  45451

//异常结束 45452
      throw new BizException("C10100250","中期得分计算公式错误~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CLONE_FROM_EVA_SUBJECT")||reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CLONE_FROM_OKR_PERSON"))){
       //elseif((D4-计算中期汇报得分及实际得分(公共).计算或克隆 等于 从评价对象树克隆 or D4-计算中期汇报得分及实际得分(公共).计算或克隆 等于 从OKR个人树克隆))  40006

ImplementReportScoreCloneFromOtherTreeComRespDto implementReportScoreCloneFromOtherTreeComRespDto = null;
    ImplementReportScoreCloneFromOtherTreeComReqDto implementReportScoreCloneFromOtherTreeComReqDto=new ImplementReportScoreCloneFromOtherTreeComReqDto();
  if(reqDto!=null){
      implementReportScoreCloneFromOtherTreeComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:898466_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:898467_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:898463_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:898464_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:898468_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:898465_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:898462_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898461_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:898470_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setComFloatField1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:1085134_1_40010
implementReportScoreCloneFromOtherTreeComReqDto.setComFloatField2(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:1085135_1_40010
    }

    /*D4-执行跨树克隆汇报得分(公共)[6453]   */
    Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-小数点规则不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-更新周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-冗余评价模板ID不能为空",false);
      implementReportScoreCloneFromOtherTreeComRespDto = implementReportScoreCloneFromOtherTreeCom(implementReportScoreCloneFromOtherTreeComReqDto)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_2 = null;
    if(implementReportScoreCloneFromOtherTreeComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_2=new UnifiedRefreshStandardDataComReqDto();
  if(implementReportScoreCloneFromOtherTreeComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_2.setReportScoreValue(implementReportScoreCloneFromOtherTreeComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896946_1_40011
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_2.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959057_1_40011
      unifiedRefreshStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896941_1_40011
unifiedRefreshStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896942_1_40011
unifiedRefreshStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896943_1_40011
unifiedRefreshStandardDataComReqDto_2.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896948_1_40011
unifiedRefreshStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896944_1_40011
unifiedRefreshStandardDataComReqDto_2.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082409_1_40011
unifiedRefreshStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896945_1_40011
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getStandardDataCalcCycleModel(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_2 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_2 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setSourceDataType("REPORT_SCORE");//sourceId:896953_1_40012
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:896954_1_40012
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:896955_1_40012
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896959_1_40012
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896960_1_40012
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896951_1_40012
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896952_1_40012
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896956_1_40012
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896958_1_40012
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896957_1_40012
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getSourceDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getCalcDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_2 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



QuerySourceTreeActualScoreDataDetailComRespDto querySourceTreeActualScoreDataDetailComRespDto = null;
    QuerySourceTreeActualScoreDataDetailComReqDto querySourceTreeActualScoreDataDetailComReqDto=new QuerySourceTreeActualScoreDataDetailComReqDto();
  if(reqDto!=null){
      querySourceTreeActualScoreDataDetailComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1085138_1_40153
querySourceTreeActualScoreDataDetailComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1085139_1_40153
      querySourceTreeActualScoreDataDetailComReqDto.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:898474_1_40153
querySourceTreeActualScoreDataDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898473_1_40153
querySourceTreeActualScoreDataDetailComReqDto.setCustomField1(reqDto.getComFloatField()!=null?String.valueOf(reqDto.getComFloatField()):"");//SimpleFieldAssign//sourceId:1085136_1_40153
querySourceTreeActualScoreDataDetailComReqDto.setCustomField2(reqDto.getWeightScore()!=null?String.valueOf(reqDto.getWeightScore()):"");//SimpleFieldAssign//sourceId:1085137_1_40153
    }

    /*D4-查询来源树实际得分数据详情(公共)[6492]   */
    Assert.isNull(querySourceTreeActualScoreDataDetailComReqDto.getDataResultId(),"D4-计算中期汇报得分及实际得分(公共)-D4-查询来源树实际得分数据详情(公共)-数据结果ID 不能为空",false);
Assert.isNull(querySourceTreeActualScoreDataDetailComReqDto.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-查询来源树实际得分数据详情(公共)-冗余评价模板ID不能为空",false);
      querySourceTreeActualScoreDataDetailComRespDto = querySourceTreeActualScoreDataDetailCom(querySourceTreeActualScoreDataDetailComReqDto)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_3 = null;
    if(querySourceTreeActualScoreDataDetailComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_3=new UnifiedRefreshStandardDataComReqDto();
  if(querySourceTreeActualScoreDataDetailComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_3.setActualScoreValue(querySourceTreeActualScoreDataDetailComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:898447_1_40014
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_3.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959057_1_40014
      unifiedRefreshStandardDataComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896941_1_40014
unifiedRefreshStandardDataComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896942_1_40014
unifiedRefreshStandardDataComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896943_1_40014
unifiedRefreshStandardDataComReqDto_3.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896948_1_40014
unifiedRefreshStandardDataComReqDto_3.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896944_1_40014
unifiedRefreshStandardDataComReqDto_3.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082409_1_40014
unifiedRefreshStandardDataComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896945_1_40014
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getStandardDataCalcCycleModel(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_3 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_3)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_3 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setSourceDataType("ACTUAL_SCORE");//sourceId:898479_1_40154
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setCalcDataType("FROM_LAST_ACTUAL_SCORE");//sourceId:898480_1_40154
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDataType("FROM_LAST_RATIO_ACTUAL_SCORE");//sourceId:898481_1_40154
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:898485_1_40154
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:898486_1_40154
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:898477_1_40154
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:898478_1_40154
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:898482_1_40154
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:898484_1_40154
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898483_1_40154
    }

    /*D4-计算较上次变化值及增降幅标准数据（实际得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数最后一位规则不能为空",false);
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getSourceDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getCalcDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_3 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3)/*vcase invoke isSameApp*/;



CalculateReachComRespDto calculateReachComRespDto = null;
    if(querySourceTreeActualScoreDataDetailComRespDto !=null){
          CalculateReachComReqDto calculateReachComReqDto=new CalculateReachComReqDto();
  if(querySourceTreeActualScoreDataDetailComRespDto!=null){
      calculateReachComReqDto.setActualScoreValue(querySourceTreeActualScoreDataDetailComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:1084910_1_47445
    }
if(reqDto!=null){
      calculateReachComReqDto.setWeightScore(reqDto.getWeightValue());//SimpleFieldAssign//sourceId:1084913_1_47445
calculateReachComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1084911_1_47445
calculateReachComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1084912_1_47445
    }

    /*D4-计算达成度(公共)[6460]   */
    Assert.isNull(calculateReachComReqDto.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算达成度(公共)-小数点规则不能为空",false);
Assert.isNull(calculateReachComReqDto.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算达成度(公共)-小数最后一位规则不能为空",false);
      calculateReachComRespDto = calculateReachCom(calculateReachComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_4 = null;
    if(calculateReachComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_4=new UnifiedRefreshStandardDataComReqDto();
  if(calculateReachComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_4.setReach(calculateReachComRespDto.getReach());//SimpleFieldAssign//sourceId:1084925_1_47446
    }
if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_4.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959057_1_47446
unifiedRefreshStandardDataComReqDto_4.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:896941_1_47446
unifiedRefreshStandardDataComReqDto_4.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:896942_1_47446
unifiedRefreshStandardDataComReqDto_4.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:896943_1_47446
unifiedRefreshStandardDataComReqDto_4.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:896948_1_47446
unifiedRefreshStandardDataComReqDto_4.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:896944_1_47446
unifiedRefreshStandardDataComReqDto_4.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082409_1_47446
unifiedRefreshStandardDataComReqDto_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:896945_1_47446
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getStandardDataCalcCycleModel(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getParentSubMidCycleType(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_4 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_4)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_4 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setSourceDataType("REACH");//sourceId:1084917_1_47447
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setCalcDataType("FROM_LAST_REACH");//sourceId:1084918_1_47447
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDataType("ACTUAL_FROM_LAST_TIME_RATIO");//sourceId:1084919_1_47447
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1084915_1_47447
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1084916_1_47447
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1084920_1_47447
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:1084922_1_47447
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1084923_1_47447
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1084924_1_47447
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1084921_1_47447
    }

    /*D4-计算较上次变化值及增降幅标准数据（达成度）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getEvaObjTargetCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getUpdateCycleId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getSourceDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getCalcDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDataType(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDecimalPointRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDecimalDigitsLastRules(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getEvaluationTemplateId(),"D4-计算中期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_4 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4)/*vcase invoke isSameApp*/;



    }
else{
       //else  45453

//异常结束 45454
      throw new BizException("C10100250","中期得分计算公式错误~",false);
    }
CalculateMidCycleReportAndActualScoreComRespDto retData = new CalculateMidCycleReportAndActualScoreComRespDto();





return retData;
  }
/**
   * D4-计算父周期汇报得分及实际得分(公共)[6436]
   * gen by moon at 1/5/2024, 4:24:01 AM
   */
  @Trace(operationName = "D4-计算父周期汇报得分及实际得分(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public CalculateFatherCycleReportAndActualScoreComRespDto calculateFatherCycleReportAndActualScoreCom(CalculateFatherCycleReportAndActualScoreComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CALC"))) {
        //if(D4-计算父周期汇报得分及实际得分(公共).计算或克隆 等于 计算)  39942

if((reqDto!= null&&  reqDto.getRankOrDownCalc() !=null && reqDto.getRankOrDownCalc().equals("RANK_CALC"))) {
        //if(D4-计算父周期汇报得分及实际得分(公共).计算本级或下级 等于 计算本级)  39947

ImplementCalcSubjectiveScoreComRespDto implementCalcSubjectiveScoreComRespDto = null;
    ImplementCalcSubjectiveScoreComReqDto implementCalcSubjectiveScoreComReqDto=new ImplementCalcSubjectiveScoreComReqDto();
if(reqDto!=null){
      implementCalcSubjectiveScoreComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:958997_1_42216
      implementCalcSubjectiveScoreComReqDto.setSubjectiveRatingTotalValue(reqDto.getSubjectiveRatingTotalValue());//SimpleFieldAssign//sourceId:959001_1_42216
implementCalcSubjectiveScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:958990_1_42216
implementCalcSubjectiveScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:958991_1_42216
implementCalcSubjectiveScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:958992_1_42216
implementCalcSubjectiveScoreComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:959002_1_42216
implementCalcSubjectiveScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:958993_1_42216
implementCalcSubjectiveScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:958994_1_42216
implementCalcSubjectiveScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:958995_1_42216
implementCalcSubjectiveScoreComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:958996_1_42216
implementCalcSubjectiveScoreComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:958998_1_42216
implementCalcSubjectiveScoreComReqDto.setReportObjectSetCode(reqDto.getReportObjectSetCode());//SimpleFieldAssign//sourceId:958999_1_42216
implementCalcSubjectiveScoreComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1083926_1_42216
implementCalcSubjectiveScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:959000_1_42216
    }

    /*D4-执行计算主观得分(公共)[6827]   */
//    Assert.isNull(implementCalcSubjectiveScoreComReqDto.getStandardDataCalcCycleModel(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-标准数据计算周期模型不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-小数点规则不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-小数最后一位规则不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-被评对象目标周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-更新周期ID不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-父子中周期类型不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getTargetCycleContentTypeCode(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-关联目标内容类型编码不能为空",false);
//Assert.isNull(implementCalcSubjectiveScoreComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算主观得分(公共)-冗余评价模板ID不能为空",false);
//      implementCalcSubjectiveScoreComRespDto = implementCalcSubjectiveScoreCom(implementCalcSubjectiveScoreComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateQuantizedScoreComRespDto calculateQuantizedScoreComRespDto = null;
    CalculateQuantizedScoreComReqDto calculateQuantizedScoreComReqDto=new CalculateQuantizedScoreComReqDto();


    /*D4-计算量化得分[6439]   */

      calculateQuantizedScoreComRespDto = calculateQuantized_scoreCom(calculateQuantizedScoreComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateAvgReportScoreStandardDataComRespDto calculateAvgReportScoreStandardDataComRespDto = null;
    CalculateAvgReportScoreStandardDataComReqDto calculateAvgReportScoreStandardDataComReqDto=new CalculateAvgReportScoreStandardDataComReqDto();
  if(reqDto!=null){
calculateAvgReportScoreStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:884752_1_39956
calculateAvgReportScoreStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884749_1_39956
calculateAvgReportScoreStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884746_1_39956
calculateAvgReportScoreStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884747_1_39956
calculateAvgReportScoreStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1085664_1_39956
calculateAvgReportScoreStandardDataComReqDto.setLastCycleType(reqDto.getLastCycleType());//SimpleFieldAssign//sourceId:884751_1_39956
calculateAvgReportScoreStandardDataComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1212451_1_39956
calculateAvgReportScoreStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884748_1_39956
    }

    /*D4-计算汇报平均分[5763]   */
    Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算汇报平均分-小数点规则不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算汇报平均分-小数最后一位规则不能为空",false);
    Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算汇报平均分-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算汇报平均分-周期ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getTargetId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算汇报平均分-冗余目标ID不能为空",false);
Assert.isNull(calculateAvgReportScoreStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算汇报平均分-冗余评价模板ID不能为空",false);
      calculateAvgReportScoreStandardDataComRespDto = standardDataService.calculateAvgReportScoreStandardDataCom(calculateAvgReportScoreStandardDataComReqDto)/*vcase invoke isSameApp*/;



ObtainMidCycleStaDataComRespDto obtainMidCycleStaDataComRespDto = null;
    ObtainMidCycleStaDataComReqDto obtainMidCycleStaDataComReqDto=new ObtainMidCycleStaDataComReqDto();
  obtainMidCycleStaDataComReqDto.setDataType("REPORT_SCORE");//sourceId:887700_1_39957
if(reqDto!=null){
      obtainMidCycleStaDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:887697_1_39957
obtainMidCycleStaDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:887698_1_39957
obtainMidCycleStaDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:887699_1_39957
    }

    /*D4-获取中期标准数据(公共)[6461]   */
    Assert.isNull(obtainMidCycleStaDataComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-获取中期标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(obtainMidCycleStaDataComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-获取中期标准数据(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(obtainMidCycleStaDataComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-获取中期标准数据(公共)-周期ID不能为空",false);
Assert.isNull(obtainMidCycleStaDataComReqDto.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-获取中期标准数据(公共)-数据点类型不能为空",false);
      obtainMidCycleStaDataComRespDto = obtainMidCycleStaDataCom(obtainMidCycleStaDataComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateLowKrReportScoreComRespDto calculateLowKrReportScoreComRespDto = null;
    CalculateLowKrReportScoreComReqDto calculateLowKrReportScoreComReqDto=new CalculateLowKrReportScoreComReqDto();
  calculateLowKrReportScoreComReqDto.setDataType("REPORT_SCORE");//sourceId:885334_1_39958
if(reqDto!=null){
      calculateLowKrReportScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885340_1_39958
calculateLowKrReportScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885341_1_39958
calculateLowKrReportScoreComReqDto.setIsOkrPlanScene(reqDto.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1062780_1_39958
calculateLowKrReportScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885331_1_39958
calculateLowKrReportScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885332_1_39958
calculateLowKrReportScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885333_1_39958
calculateLowKrReportScoreComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:885336_1_39958
calculateLowKrReportScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885335_1_39958
calculateLowKrReportScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885337_1_39958
calculateLowKrReportScoreComReqDto.setComFloatField1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:885338_1_39958
calculateLowKrReportScoreComReqDto.setComFloatField2(reqDto.getWeightValue());//SimpleFieldAssign//sourceId:885339_1_39958
    }

    /*D4-计算下级KR得分(公共)[6458]   */
    Assert.isNull(calculateLowKrReportScoreComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-数据点类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-冗余评价模板ID不能为空",false);
      calculateLowKrReportScoreComRespDto = calculateLowKrReportScoreCom(calculateLowKrReportScoreComReqDto)/*vcase invoke 同服务,同domain*/;



ImplementFatherCycleReportScoreFormulaComRespDto implementFatherCycleReportScoreFormulaComRespDto = null;
    if(implementCalcSubjectiveScoreComRespDto !=null&&calculateQuantizedScoreComRespDto !=null&&obtainMidCycleStaDataComRespDto !=null&&calculateLowKrReportScoreComRespDto !=null&&calculateAvgReportScoreStandardDataComRespDto !=null){
          ImplementFatherCycleReportScoreFormulaComReqDto implementFatherCycleReportScoreFormulaComReqDto=new ImplementFatherCycleReportScoreFormulaComReqDto();
  if(reqDto!=null){
      implementFatherCycleReportScoreFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:988130_1_39963
      implementFatherCycleReportScoreFormulaComReqDto.setOpenOrCloseMidCycle(reqDto.getOpenOrCloseMidCycle());//SimpleFieldAssign//sourceId:896103_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setSubAndObjModel(reqDto.getSubAndObjModel());//SimpleFieldAssign//sourceId:896101_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:896085_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:896086_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setSubjectiveScoreWeight(reqDto.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:896099_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setObjectiveScoreWeight(reqDto.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:896100_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setProcessReportScoreMidWeight(reqDto.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:896091_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setProcessReportScoreKrWeight(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:896087_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setProcessReportScoreAvgWeight(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:896088_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setReportScoreSubAndObjWeight(reqDto.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:896090_1_39963
implementFatherCycleReportScoreFormulaComReqDto.setReportScoreProcessWeight(reqDto.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:896089_1_39963
    }
if(implementCalcSubjectiveScoreComRespDto!=null){
      implementFatherCycleReportScoreFormulaComReqDto.setSubjectiveScore(implementCalcSubjectiveScoreComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:896098_1_39963
    }
if(calculateQuantizedScoreComRespDto!=null){
      implementFatherCycleReportScoreFormulaComReqDto.setObjectiveScore(calculateQuantizedScoreComRespDto.getObjectiveScore());//SimpleFieldAssign//sourceId:896097_1_39963
    }
if(obtainMidCycleStaDataComRespDto!=null){
      implementFatherCycleReportScoreFormulaComReqDto.setReportScoreValue(obtainMidCycleStaDataComRespDto.getDataResult());//SimpleFieldAssign//sourceId:896094_1_39963
    }
if(calculateLowKrReportScoreComRespDto!=null){
      implementFatherCycleReportScoreFormulaComReqDto.setComFloatField1(calculateLowKrReportScoreComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:896095_1_39963
    }
if(calculateAvgReportScoreStandardDataComRespDto!=null){
      implementFatherCycleReportScoreFormulaComReqDto.setComFloatField(calculateAvgReportScoreStandardDataComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:896093_1_39963
    }

    /*D4-执行父周期汇报得分计算公式(公共)[6457]   */
Assert.isNull(implementFatherCycleReportScoreFormulaComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行父周期汇报得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementFatherCycleReportScoreFormulaComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行父周期汇报得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementFatherCycleReportScoreFormulaComRespDto = implementFatherCycleReportScoreFormulaCom(implementFatherCycleReportScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(implementFatherCycleReportScoreFormulaComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(implementFatherCycleReportScoreFormulaComRespDto!=null){
      unifiedRefreshStandardDataComReqDto.setReportScoreValue(implementFatherCycleReportScoreFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:884187_1_39960
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959043_1_39960
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884182_1_39960
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884183_1_39960
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884184_1_39960
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:884189_1_39960
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884185_1_39960
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082398_1_39960
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884186_1_39960
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("REPORT_SCORE");//sourceId:884192_1_39961
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:884193_1_39961
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:884194_1_39961
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:884198_1_39961
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884199_1_39961
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884190_1_39961
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884191_1_39961
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884195_1_39961
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884197_1_39961
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884196_1_39961
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



CalculateFatherCycleActualScoreComRespDto calculateFatherCycleActualScoreComRespDto = null;
    if(implementFatherCycleReportScoreFormulaComRespDto !=null){
          CalculateFatherCycleActualScoreComReqDto calculateFatherCycleActualScoreComReqDto=new CalculateFatherCycleActualScoreComReqDto();
  if(implementFatherCycleReportScoreFormulaComRespDto!=null){
      calculateFatherCycleActualScoreComReqDto.setReportScoreValue(implementFatherCycleReportScoreFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:886671_1_39962
    }
  if(reqDto!=null){
      calculateFatherCycleActualScoreComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1045115_1_39962
calculateFatherCycleActualScoreComReqDto.setActualScoreIncludeRank(reqDto.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:1045114_1_39962
      calculateFatherCycleActualScoreComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:886669_1_39962
calculateFatherCycleActualScoreComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886670_1_39962
calculateFatherCycleActualScoreComReqDto.setActualScoreLocalLevelWeight(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:886672_1_39962
calculateFatherCycleActualScoreComReqDto.setActualScoreLowerLevelWeight(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:886673_1_39962
calculateFatherCycleActualScoreComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:886674_1_39962
calculateFatherCycleActualScoreComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:886675_1_39962
calculateFatherCycleActualScoreComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:886676_1_39962
calculateFatherCycleActualScoreComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:886677_1_39962
calculateFatherCycleActualScoreComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:886679_1_39962
calculateFatherCycleActualScoreComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:886678_1_39962
calculateFatherCycleActualScoreComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082402_1_39962
calculateFatherCycleActualScoreComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:886680_1_39962
calculateFatherCycleActualScoreComReqDto.setLowIndicatorKindO(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:1045829_1_39962
calculateFatherCycleActualScoreComReqDto.setLowIndicatorKindKr(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:1045830_1_39962
    }

    /*D4-计算父子中周期实际得分(公共)[6459]   */
    Assert.isNull(calculateFatherCycleActualScoreComReqDto.getStandardDataCalcCycleModel(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getActualScoreIncludeRank(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-执行实际得分计算公式不能为空",false);
    Assert.isNull(calculateFatherCycleActualScoreComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-冗余评价模板ID不能为空",false);
      calculateFatherCycleActualScoreComRespDto = calculateFatherCycleActualScoreCom(calculateFatherCycleActualScoreComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&&  reqDto.getRankOrDownCalc() !=null && reqDto.getRankOrDownCalc().equals("DOWN_CALC"))){
       //elseif(D4-计算父周期汇报得分及实际得分(公共).计算本级或下级 等于 计算下级)  39948

ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto=new ImplementCalcLowerLevelComReqDto();
implementCalcLowerLevelComReqDto.setDataType("REPORT_SCORE");//sourceId:884207_1_39949
if(reqDto!=null){
      implementCalcLowerLevelComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:884200_1_39949
implementCalcLowerLevelComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884201_1_39949
implementCalcLowerLevelComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884203_1_39949
implementCalcLowerLevelComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884204_1_39949
implementCalcLowerLevelComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1045162_1_39949
implementCalcLowerLevelComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:884206_1_39949
implementCalcLowerLevelComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:884208_1_39949
implementCalcLowerLevelComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884205_1_39949
    }

    /*D4-执行计算下级数据点权重和(公共)[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-数据点类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行计算下级数据点权重和(公共)-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto)/*vcase invoke 同服务,同domain*/;



CalculateLowKrReportScoreComRespDto calculateLowKrReportScoreComRespDto_2 = null;
    CalculateLowKrReportScoreComReqDto calculateLowKrReportScoreComReqDto_1=new CalculateLowKrReportScoreComReqDto();
  calculateLowKrReportScoreComReqDto_1.setDataType("REPORT_SCORE");//sourceId:885334_1_42747
if(reqDto!=null){
      calculateLowKrReportScoreComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885340_1_42747
calculateLowKrReportScoreComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885341_1_42747
calculateLowKrReportScoreComReqDto_1.setIsOkrPlanScene(reqDto.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1062780_1_42747
calculateLowKrReportScoreComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885331_1_42747
calculateLowKrReportScoreComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885332_1_42747
calculateLowKrReportScoreComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885333_1_42747
calculateLowKrReportScoreComReqDto_1.setIndicatorKind(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:885336_1_42747
calculateLowKrReportScoreComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885335_1_42747
calculateLowKrReportScoreComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885337_1_42747
calculateLowKrReportScoreComReqDto_1.setComFloatField1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:885338_1_42747
calculateLowKrReportScoreComReqDto_1.setComFloatField2(reqDto.getWeightValue());//SimpleFieldAssign//sourceId:885339_1_42747
    }

    /*D4-计算下级KR得分(公共)[6458]   */
    Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-数据点类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateLowKrReportScoreComReqDto_1.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算下级KR得分(公共)-冗余评价模板ID不能为空",false);
      calculateLowKrReportScoreComRespDto_2 = calculateLowKrReportScoreCom(calculateLowKrReportScoreComReqDto_1)/*vcase invoke 同服务,同domain*/;



ImplementReportScoreDownCalcFormulaComRespDto implementReportScoreDownCalcFormulaComRespDto = null;
    if(implementCalcLowerLevelComRespDto !=null&&calculateLowKrReportScoreComRespDto_2 !=null){
          ImplementReportScoreDownCalcFormulaComReqDto implementReportScoreDownCalcFormulaComReqDto=new ImplementReportScoreDownCalcFormulaComReqDto();
  if(reqDto!=null){
      implementReportScoreDownCalcFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:976895_1_42748
implementReportScoreDownCalcFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:976896_1_42748
implementReportScoreDownCalcFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:976897_1_42748
implementReportScoreDownCalcFormulaComReqDto.setCountProObWeight(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:988131_1_42748
implementReportScoreDownCalcFormulaComReqDto.setCountProKrWeight(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:988132_1_42748
    }
if(implementCalcLowerLevelComRespDto!=null){
      implementReportScoreDownCalcFormulaComReqDto.setOReportScoreValue(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:976900_1_42748
    }
if(calculateLowKrReportScoreComRespDto_2!=null){
      implementReportScoreDownCalcFormulaComReqDto.setKrReportScoreValue(calculateLowKrReportScoreComRespDto_2.getReportScoreValue());//SimpleFieldAssign//sourceId:976901_1_42748
    }

    /*D4-执行汇报得分向下计算公式(公共)[6940]   */
    Assert.isNull(implementReportScoreDownCalcFormulaComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行汇报得分向下计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementReportScoreDownCalcFormulaComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行汇报得分向下计算公式(公共)-小数最后一位规则不能为空",false);
      implementReportScoreDownCalcFormulaComRespDto = implementReportScoreDownCalcFormulaCom(implementReportScoreDownCalcFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_1 = null;
    if(implementReportScoreDownCalcFormulaComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_1=new UnifiedRefreshStandardDataComReqDto();
  if(implementReportScoreDownCalcFormulaComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setReportScoreValue(implementReportScoreDownCalcFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:884187_1_39950
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959043_1_39950
      unifiedRefreshStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884182_1_39950
unifiedRefreshStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884183_1_39950
unifiedRefreshStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884184_1_39950
unifiedRefreshStandardDataComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:884189_1_39950
unifiedRefreshStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884185_1_39950
unifiedRefreshStandardDataComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082398_1_39950
unifiedRefreshStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884186_1_39950
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getStandardDataCalcCycleModel(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_1 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setSourceDataType("REPORT_SCORE");//sourceId:884192_1_39951
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:884193_1_39951
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:884194_1_39951
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:884198_1_39951
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884199_1_39951
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884190_1_39951
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884191_1_39951
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884195_1_39951
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884197_1_39951
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884196_1_39951
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getSourceDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCalcDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



CalculateFatherCycleActualScoreComRespDto calculateFatherCycleActualScoreComRespDto_1 = null;
    if(implementReportScoreDownCalcFormulaComRespDto !=null){
          CalculateFatherCycleActualScoreComReqDto calculateFatherCycleActualScoreComReqDto_1=new CalculateFatherCycleActualScoreComReqDto();
  if(implementReportScoreDownCalcFormulaComRespDto!=null){
      calculateFatherCycleActualScoreComReqDto_1.setReportScoreValue(implementReportScoreDownCalcFormulaComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:886671_1_39953
    }
  if(reqDto!=null){
      calculateFatherCycleActualScoreComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1045115_1_39953
calculateFatherCycleActualScoreComReqDto_1.setActualScoreIncludeRank(reqDto.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:1045114_1_39953
      calculateFatherCycleActualScoreComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:886669_1_39953
calculateFatherCycleActualScoreComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886670_1_39953
calculateFatherCycleActualScoreComReqDto_1.setActualScoreLocalLevelWeight(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:886672_1_39953
calculateFatherCycleActualScoreComReqDto_1.setActualScoreLowerLevelWeight(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:886673_1_39953
calculateFatherCycleActualScoreComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:886674_1_39953
calculateFatherCycleActualScoreComReqDto_1.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:886675_1_39953
calculateFatherCycleActualScoreComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:886676_1_39953
calculateFatherCycleActualScoreComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:886677_1_39953
calculateFatherCycleActualScoreComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:886679_1_39953
calculateFatherCycleActualScoreComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:886678_1_39953
calculateFatherCycleActualScoreComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082402_1_39953
calculateFatherCycleActualScoreComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:886680_1_39953
calculateFatherCycleActualScoreComReqDto_1.setLowIndicatorKindO(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:1045829_1_39953
calculateFatherCycleActualScoreComReqDto_1.setLowIndicatorKindKr(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:1045830_1_39953
    }

    /*D4-计算父子中周期实际得分(公共)[6459]   */
    Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getStandardDataCalcCycleModel(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getActualScoreIncludeRank(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-执行实际得分计算公式不能为空",false);
    Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数点规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(calculateFatherCycleActualScoreComReqDto_1.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算父子中周期实际得分(公共)-冗余评价模板ID不能为空",false);
      calculateFatherCycleActualScoreComRespDto_1 = calculateFatherCycleActualScoreCom(calculateFatherCycleActualScoreComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
    }
else{
       //else  45456

//异常结束 45457
      throw new BizException("C10100251","父周期得分计算公式错误~",false);
    }
      }
else if((reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CLONE_FROM_EVA_SUBJECT")||reqDto!= null&&  reqDto.getCalcOrClone() !=null && reqDto.getCalcOrClone().equals("CLONE_FROM_OKR_PERSON"))){
       //elseif((D4-计算父周期汇报得分及实际得分(公共).计算或克隆 等于 从评价对象树克隆 or D4-计算父周期汇报得分及实际得分(公共).计算或克隆 等于 从OKR个人树克隆))  39943

ImplementReportScoreCloneFromOtherTreeComRespDto implementReportScoreCloneFromOtherTreeComRespDto = null;
    ImplementReportScoreCloneFromOtherTreeComReqDto implementReportScoreCloneFromOtherTreeComReqDto=new ImplementReportScoreCloneFromOtherTreeComReqDto();
  if(reqDto!=null){
      implementReportScoreCloneFromOtherTreeComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:884214_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884215_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884211_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884212_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884216_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:884213_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884210_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884209_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:898058_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setComFloatField1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:1085143_1_39944
implementReportScoreCloneFromOtherTreeComReqDto.setComFloatField2(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:1085144_1_39944
    }

    /*D4-执行跨树克隆汇报得分(公共)[6453]   */
    Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-小数点规则不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-更新周期ID不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementReportScoreCloneFromOtherTreeComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-执行跨树克隆汇报得分(公共)-冗余评价模板ID不能为空",false);
      implementReportScoreCloneFromOtherTreeComRespDto = implementReportScoreCloneFromOtherTreeCom(implementReportScoreCloneFromOtherTreeComReqDto)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_2 = null;
    if(implementReportScoreCloneFromOtherTreeComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_2=new UnifiedRefreshStandardDataComReqDto();
  if(implementReportScoreCloneFromOtherTreeComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_2.setReportScoreValue(implementReportScoreCloneFromOtherTreeComRespDto.getReportScoreValue());//SimpleFieldAssign//sourceId:884187_1_39974
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_2.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959043_1_39974
      unifiedRefreshStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884182_1_39974
unifiedRefreshStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884183_1_39974
unifiedRefreshStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884184_1_39974
unifiedRefreshStandardDataComReqDto_2.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:884189_1_39974
unifiedRefreshStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884185_1_39974
unifiedRefreshStandardDataComReqDto_2.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082398_1_39974
unifiedRefreshStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884186_1_39974
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getStandardDataCalcCycleModel(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_2 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_2 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setSourceDataType("REPORT_SCORE");//sourceId:884192_1_39975
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setCalcDataType("FROM_LAST_REPORT_SCORE");//sourceId:884193_1_39975
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDataType("FROM_LAST_RATIO_REPORT_SCORE");//sourceId:884194_1_39975
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:884198_1_39975
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884199_1_39975
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884190_1_39975
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884191_1_39975
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884195_1_39975
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884197_1_39975
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884196_1_39975
    }

    /*D4-计算较上次变化值及增降幅标准数据（汇报得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getSourceDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getCalcDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（汇报得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_2 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



QuerySourceTreeActualScoreDataDetailComRespDto querySourceTreeActualScoreDataDetailComRespDto = null;
    QuerySourceTreeActualScoreDataDetailComReqDto querySourceTreeActualScoreDataDetailComReqDto=new QuerySourceTreeActualScoreDataDetailComReqDto();
  if(reqDto!=null){
      querySourceTreeActualScoreDataDetailComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1085147_1_40140
querySourceTreeActualScoreDataDetailComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1085148_1_40140
      querySourceTreeActualScoreDataDetailComReqDto.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:898383_1_40140
querySourceTreeActualScoreDataDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898382_1_40140
querySourceTreeActualScoreDataDetailComReqDto.setCustomField1(reqDto.getComFloatField()!=null?String.valueOf(reqDto.getComFloatField()):"");//SimpleFieldAssign//sourceId:1085145_1_40140
querySourceTreeActualScoreDataDetailComReqDto.setCustomField2(reqDto.getWeightScore()!=null?String.valueOf(reqDto.getWeightScore()):"");//SimpleFieldAssign//sourceId:1085146_1_40140
    }

    /*D4-查询来源树实际得分数据详情(公共)[6492]   */
    Assert.isNull(querySourceTreeActualScoreDataDetailComReqDto.getDataResultId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-查询来源树实际得分数据详情(公共)-数据结果ID 不能为空",false);
Assert.isNull(querySourceTreeActualScoreDataDetailComReqDto.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-查询来源树实际得分数据详情(公共)-冗余评价模板ID不能为空",false);
      querySourceTreeActualScoreDataDetailComRespDto = querySourceTreeActualScoreDataDetailCom(querySourceTreeActualScoreDataDetailComReqDto)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_3 = null;
    if(querySourceTreeActualScoreDataDetailComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_3=new UnifiedRefreshStandardDataComReqDto();
  if(querySourceTreeActualScoreDataDetailComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_3.setActualScoreValue(querySourceTreeActualScoreDataDetailComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:898048_1_39976
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_3.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959043_1_39976
      unifiedRefreshStandardDataComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884182_1_39976
unifiedRefreshStandardDataComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884183_1_39976
unifiedRefreshStandardDataComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884184_1_39976
unifiedRefreshStandardDataComReqDto_3.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:884189_1_39976
unifiedRefreshStandardDataComReqDto_3.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884185_1_39976
unifiedRefreshStandardDataComReqDto_3.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082398_1_39976
unifiedRefreshStandardDataComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884186_1_39976
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getStandardDataCalcCycleModel(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
    Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_3 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_3)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_3 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setSourceDataType("ACTUAL_SCORE");//sourceId:898524_1_40155
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setCalcDataType("FROM_LAST_ACTUAL_SCORE");//sourceId:898525_1_40155
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDataType("FROM_LAST_RATIO_ACTUAL_SCORE");//sourceId:898526_1_40155
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:898530_1_40155
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:898531_1_40155
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:898522_1_40155
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:898523_1_40155
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:898527_1_40155
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:898529_1_40155
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:898528_1_40155
    }

    /*D4-计算较上次变化值及增降幅标准数据（实际得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数最后一位规则不能为空",false);
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getSourceDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getCalcDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_3 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3)/*vcase invoke isSameApp*/;



CalculateReachComRespDto calculateReachComRespDto = null;
    if(querySourceTreeActualScoreDataDetailComRespDto !=null){
          CalculateReachComReqDto calculateReachComReqDto=new CalculateReachComReqDto();
  if(querySourceTreeActualScoreDataDetailComRespDto!=null){
      calculateReachComReqDto.setActualScoreValue(querySourceTreeActualScoreDataDetailComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:1084926_1_47448
    }
if(reqDto!=null){
      calculateReachComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:1084929_1_47448
calculateReachComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1084927_1_47448
calculateReachComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1084928_1_47448
    }

    /*D4-计算达成度(公共)[6460]   */
    Assert.isNull(calculateReachComReqDto.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算达成度(公共)-小数点规则不能为空",false);
Assert.isNull(calculateReachComReqDto.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算达成度(公共)-小数最后一位规则不能为空",false);
      calculateReachComRespDto = calculateReachCom(calculateReachComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_4 = null;
    if(calculateReachComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_4=new UnifiedRefreshStandardDataComReqDto();
  if(calculateReachComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_4.setReach(calculateReachComRespDto.getReach());//SimpleFieldAssign//sourceId:1084941_1_47449
    }
if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_4.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959043_1_47449
unifiedRefreshStandardDataComReqDto_4.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:884182_1_47449
unifiedRefreshStandardDataComReqDto_4.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:884183_1_47449
unifiedRefreshStandardDataComReqDto_4.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:884184_1_47449
unifiedRefreshStandardDataComReqDto_4.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:884189_1_47449
unifiedRefreshStandardDataComReqDto_4.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:884185_1_47449
unifiedRefreshStandardDataComReqDto_4.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082398_1_47449
unifiedRefreshStandardDataComReqDto_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:884186_1_47449
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getStandardDataCalcCycleModel(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getParentSubMidCycleType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_4 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_4)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_4 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setSourceDataType("REACH");//sourceId:1084933_1_47450
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setCalcDataType("FROM_LAST_REACH");//sourceId:1084934_1_47450
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDataType("ACTUAL_FROM_LAST_TIME_RATIO");//sourceId:1084935_1_47450
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1084931_1_47450
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1084932_1_47450
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1084936_1_47450
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:1084938_1_47450
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1084939_1_47450
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1084940_1_47450
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1084937_1_47450
    }

    /*D4-计算较上次变化值及增降幅标准数据（达成度）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getEvaObjTargetCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getUpdateCycleId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getSourceDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getCalcDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDataType(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDecimalPointRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDecimalDigitsLastRules(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getEvaluationTemplateId(),"D4-计算父周期汇报得分及实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_4 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4)/*vcase invoke isSameApp*/;



    }
else{
       //else  45458

//异常结束 45459
      throw new BizException("C10100251","父周期得分计算公式错误~",false);
    }
CalculateFatherCycleReportAndActualScoreComRespDto retData = new CalculateFatherCycleReportAndActualScoreComRespDto();





return retData;
  }

/**
   * D4-执行中间周期汇报得分计算公式(公共)[6442]
   * gen by moon at 6/27/2023, 6:26:09 PM
   */
  @Trace(operationName = "D4-执行中间周期汇报得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementNotLastCycleReportScoreFormulaComRespDto implementNotLastCycleReportScoreFormulaCom(ImplementNotLastCycleReportScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getCustomField() !=null && reqDto.getCustomField().equals("QUANTIZED_SCORE_FORMULA"))) {
        //if(D4-执行中间周期汇报得分计算公式(公共).得分公式 等于 主客观全维度计算公式)  39396

ImplementSubjectiveAndObjectiveScoreFormulaComRespDto implementSubjectiveAndObjectiveScoreFormulaComRespDto = null;
    ImplementSubjectiveAndObjectiveScoreFormulaComReqDto implementSubjectiveAndObjectiveScoreFormulaComReqDto=new ImplementSubjectiveAndObjectiveScoreFormulaComReqDto();
  if(reqDto!=null){
      implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubAndObjModel(reqDto.getSubAndObjModel());//SimpleFieldAssign//sourceId:892003_1_39811
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:891997_1_39811
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891998_1_39811
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubjectiveScore(reqDto.getSubjectiveScore());//SimpleFieldAssign//sourceId:891999_1_39811
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubjectiveScoreWeight(reqDto.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:892000_1_39811
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setObjectiveScore(reqDto.getObjectiveScore());//SimpleFieldAssign//sourceId:892001_1_39811
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setObjectiveScoreWeight(reqDto.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:892002_1_39811
    }

    /*D4-执行主客观得分计算公式(公共)[6465]   */
Assert.isNull(implementSubjectiveAndObjectiveScoreFormulaComReqDto.getDecimalPointRules(),"D4-执行中间周期汇报得分计算公式(公共)-D4-执行主客观得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementSubjectiveAndObjectiveScoreFormulaComReqDto.getDecimalDigitsLastRules(),"D4-执行中间周期汇报得分计算公式(公共)-D4-执行主客观得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementSubjectiveAndObjectiveScoreFormulaComRespDto = implementSubjectiveAndObjectiveScoreFormulaCom(implementSubjectiveAndObjectiveScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



if((reqDto!= null&& reqDto.getComFloatField() != null &&implementSubjectiveAndObjectiveScoreFormulaComRespDto!= null&& implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore() != null )) {
        //if((D4-执行中间周期汇报得分计算公式(公共).汇报平均分 值不等于空  and D4-执行主客观得分计算公式(公共).主客观得分（数值） 值不等于空 ))  39813

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:883439_1_39814
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:883445_1_39814
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:883441_1_39814
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:883442_1_39814
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:883446_1_39814
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    if(implementSubjectiveAndObjectiveScoreFormulaComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:883439_1_39815
if(implementSubjectiveAndObjectiveScoreFormulaComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore());//SimpleFieldAssign//sourceId:883441_1_39815
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:883442_1_39815
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:883445_1_39815
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:883446_1_39815
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:883449_1_39816
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:883455_1_39816
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:883451_1_39816
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:883452_1_39816
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:883456_1_39816
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:883459_1_39817
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:883462_1_39817
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:883461_1_39817
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:883465_1_39817
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:883466_1_39817
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcPara2(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相除-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalPointRules(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalDigitsLastRules(),"D4-执行中间周期汇报得分计算公式(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq.setReportScoreValue(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:883556_1_39818
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&& reqDto.getComFloatField() != null &&implementSubjectiveAndObjectiveScoreFormulaComRespDto!= null&& implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore() == null )){
       //elseif((D4-执行中间周期汇报得分计算公式(公共).汇报平均分 值不等于空  and D4-执行主客观得分计算公式(公共).主客观得分（数值） 值等于空 ))  45680

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_1.setReportScoreValue(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:883556_1_45681
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
      }
      }
ImplementNotLastCycleReportScoreFormulaComRespDto retData = new ImplementNotLastCycleReportScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setReportScoreValue(receptionServiceRes_1.getReportScoreValue());//SimpleFieldAssign//sourceId:883564_1
    }




return retData;
  }
/**
   * D4-执行子周期汇报得分计算公式(公共)[6443]
   * gen by moon at 6/27/2023, 6:26:16 PM
   */
  @Trace(operationName = "D4-执行子周期汇报得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementSubCycleReportScoreFormulaComRespDto implementSubCycleReportScoreFormulaCom(ImplementSubCycleReportScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage D4-执行主客观得分计算公式(公共)  39702
      ImplementSubjectiveAndObjectiveScoreFormulaComRespDto implementSubjectiveAndObjectiveScoreFormulaComRespDto = null;
    ImplementSubjectiveAndObjectiveScoreFormulaComReqDto implementSubjectiveAndObjectiveScoreFormulaComReqDto=new ImplementSubjectiveAndObjectiveScoreFormulaComReqDto();
  if(reqDto!=null){
      implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubAndObjModel(reqDto.getSubAndObjModel());//SimpleFieldAssign//sourceId:891068_1_39702
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:891062_1_39702
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891063_1_39702
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubjectiveScore(reqDto.getSubjectiveScore());//SimpleFieldAssign//sourceId:891064_1_39702
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubjectiveScoreWeight(reqDto.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:891065_1_39702
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setObjectiveScore(reqDto.getObjectiveScore());//SimpleFieldAssign//sourceId:891066_1_39702
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setObjectiveScoreWeight(reqDto.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:891067_1_39702
    }

    /*D4-执行主客观得分计算公式(公共)[6465]   */
Assert.isNull(implementSubjectiveAndObjectiveScoreFormulaComReqDto.getDecimalPointRules(),"D4-执行子周期汇报得分计算公式(公共)-D4-执行主客观得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementSubjectiveAndObjectiveScoreFormulaComReqDto.getDecimalDigitsLastRules(),"D4-执行子周期汇报得分计算公式(公共)-D4-执行主客观得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementSubjectiveAndObjectiveScoreFormulaComRespDto = implementSubjectiveAndObjectiveScoreFormulaCom(implementSubjectiveAndObjectiveScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D4-执行子周期过程汇报得分计算公式(公共)  39777
      ImplementSubCycleProcessReportScoreFormulaComRespDto implementSubCycleProcessReportScoreFormulaComRespDto = null;
    ImplementSubCycleProcessReportScoreFormulaComReqDto implementSubCycleProcessReportScoreFormulaComReqDto=new ImplementSubCycleProcessReportScoreFormulaComReqDto();
  if(reqDto!=null){
      implementSubCycleProcessReportScoreFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:891955_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setOpenOrCloseMidProcess(reqDto.getOpenOrCloseMidProcess());//SimpleFieldAssign//sourceId:891959_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:891950_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891951_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setComFloatField2(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:891958_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setProcessReportScoreKrWeight(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:891952_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setComFloatField(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:891956_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setProcessReportScoreProMidWeight(reqDto.getProcessReportScoreProMidWeight());//SimpleFieldAssign//sourceId:891953_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setComFloatField1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:891957_1_39777
implementSubCycleProcessReportScoreFormulaComReqDto.setProcessReportScoreAvgWeight(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:891954_1_39777
    }

    /*D4-执行子周期过程汇报得分计算公式(公共)[6469]   */

      implementSubCycleProcessReportScoreFormulaComRespDto = implementSubCycleProcessReportScoreFormulaCom(implementSubCycleProcessReportScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



if((implementSubjectiveAndObjectiveScoreFormulaComRespDto!=null && implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore()!=null &&implementSubCycleProcessReportScoreFormulaComRespDto!= null&& implementSubCycleProcessReportScoreFormulaComRespDto.getComFloatField() != null )) {
        //if((D4-执行主客观得分计算公式(公共).主客观得分（数值） 值不等于空  and D4-执行子周期过程汇报得分计算公式(公共).过程汇报得分 值不等于空 ))  39704

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    if(implementSubCycleProcessReportScoreFormulaComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:891052_1_39705
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891058_1_39705
if(implementSubCycleProcessReportScoreFormulaComRespDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(implementSubCycleProcessReportScoreFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:891054_1_39705
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:891055_1_39705
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891059_1_39705
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行子周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    if(implementSubjectiveAndObjectiveScoreFormulaComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:891052_1_39706
if(implementSubjectiveAndObjectiveScoreFormulaComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore());//SimpleFieldAssign//sourceId:891054_1_39706
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:891055_1_39706
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891058_1_39706
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891059_1_39706
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行子周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:891042_1_39707
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:891048_1_39707
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:891044_1_39707
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:891045_1_39707
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891049_1_39707
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行子周期汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:891032_1_39708
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:891035_1_39708
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:891034_1_39708
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:891038_1_39708
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:891039_1_39708
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行子周期汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq.setReportScoreValue(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:891031_1_39709
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getReportScoreValue(),"D4-执行子周期汇报得分计算公式(公共)-约定出参：汇报得分-汇报得分不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((implementSubCycleProcessReportScoreFormulaComRespDto!= null&& implementSubCycleProcessReportScoreFormulaComRespDto.getComFloatField() != null &&implementSubjectiveAndObjectiveScoreFormulaComRespDto!= null&& implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore() == null )){
       //elseif((D4-执行子周期过程汇报得分计算公式(公共).过程汇报得分 值不等于空  and D4-执行主客观得分计算公式(公共).主客观得分（数值） 值等于空 ))  45688

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    if(implementSubCycleProcessReportScoreFormulaComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(implementSubCycleProcessReportScoreFormulaComRespDto!=null){
      receptionServiceReq_1.setReportScoreValue(implementSubCycleProcessReportScoreFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:891031_1_45689
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getReportScoreValue(),"D4-执行子周期汇报得分计算公式(公共)-约定出参：汇报得分-汇报得分不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
      }
ImplementSubCycleReportScoreFormulaComRespDto retData = new ImplementSubCycleReportScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setReportScoreValue(receptionServiceRes_1.getReportScoreValue());//SimpleFieldAssign//sourceId:898600_1
    }




return retData;
  }
/**
   * D4-执行中期汇报得分计算公式(公共)[6445]
   * gen by moon at 6/27/2023, 6:26:23 PM
   */
  @Trace(operationName = "D4-执行中期汇报得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementMidCycleReportScoreFormulaComRespDto implementMidCycleReportScoreFormulaCom(ImplementMidCycleReportScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage D4-执行主客观得分计算公式(公共)  39790
      ImplementSubjectiveAndObjectiveScoreFormulaComRespDto implementSubjectiveAndObjectiveScoreFormulaComRespDto = null;
    ImplementSubjectiveAndObjectiveScoreFormulaComReqDto implementSubjectiveAndObjectiveScoreFormulaComReqDto=new ImplementSubjectiveAndObjectiveScoreFormulaComReqDto();
  if(reqDto!=null){
      implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubAndObjModel(reqDto.getSubAndObjModel());//SimpleFieldAssign//sourceId:892142_1_39790
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:892136_1_39790
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892137_1_39790
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubjectiveScore(reqDto.getSubjectiveScore());//SimpleFieldAssign//sourceId:892138_1_39790
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubjectiveScoreWeight(reqDto.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:892139_1_39790
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setObjectiveScore(reqDto.getObjectiveScore());//SimpleFieldAssign//sourceId:892140_1_39790
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setObjectiveScoreWeight(reqDto.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:892141_1_39790
    }

    /*D4-执行主客观得分计算公式(公共)[6465]   */
Assert.isNull(implementSubjectiveAndObjectiveScoreFormulaComReqDto.getDecimalPointRules(),"D4-执行中期汇报得分计算公式(公共)-D4-执行主客观得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementSubjectiveAndObjectiveScoreFormulaComReqDto.getDecimalDigitsLastRules(),"D4-执行中期汇报得分计算公式(公共)-D4-执行主客观得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementSubjectiveAndObjectiveScoreFormulaComRespDto = implementSubjectiveAndObjectiveScoreFormulaCom(implementSubjectiveAndObjectiveScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D4-执行中期过程汇报得分计算公式(公共)  39791
      ImplementMidCycleProcessReportScoreFormulaComRespDto implementMidCycleProcessReportScoreFormulaComRespDto = null;
    ImplementMidCycleProcessReportScoreFormulaComReqDto implementMidCycleProcessReportScoreFormulaComReqDto=new ImplementMidCycleProcessReportScoreFormulaComReqDto();
  if(reqDto!=null){
      implementMidCycleProcessReportScoreFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:892147_1_39791
implementMidCycleProcessReportScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:892144_1_39791
implementMidCycleProcessReportScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892145_1_39791
implementMidCycleProcessReportScoreFormulaComReqDto.setComFloatField(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:892148_1_39791
implementMidCycleProcessReportScoreFormulaComReqDto.setProcessReportScoreAvgWeight(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:892146_1_39791
implementMidCycleProcessReportScoreFormulaComReqDto.setComFloatField1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:892149_1_39791
implementMidCycleProcessReportScoreFormulaComReqDto.setProcessReportScoreKrWeight(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:892150_1_39791
    }

    /*D4-执行中期过程汇报得分计算公式(公共)[6470]   */

      implementMidCycleProcessReportScoreFormulaComRespDto = implementMidCycleProcessReportScoreFormulaCom(implementMidCycleProcessReportScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



if((implementMidCycleProcessReportScoreFormulaComRespDto!= null&& implementMidCycleProcessReportScoreFormulaComRespDto.getComFloatField() != null &&implementSubjectiveAndObjectiveScoreFormulaComRespDto!= null&& implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore() != null )) {
        //if((D4-执行中期过程汇报得分计算公式(公共).过程汇报得分 值不等于空  and D4-执行主客观得分计算公式(公共).主客观得分（数值） 值不等于空 ))  39792

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    if(implementMidCycleProcessReportScoreFormulaComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:892151_1_39794
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:892157_1_39794
if(implementMidCycleProcessReportScoreFormulaComRespDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(implementMidCycleProcessReportScoreFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:892153_1_39794
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:892154_1_39794
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892158_1_39794
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    if(implementSubjectiveAndObjectiveScoreFormulaComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:892151_1_39795
if(implementSubjectiveAndObjectiveScoreFormulaComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore());//SimpleFieldAssign//sourceId:892153_1_39795
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:892154_1_39795
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:892157_1_39795
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892158_1_39795
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:892172_1_39796
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:892178_1_39796
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:892174_1_39796
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:892175_1_39796
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892179_1_39796
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalPointRules(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相加-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalDigitsLastRules(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相加-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:892162_1_39797
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:892165_1_39797
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:892164_1_39797
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:892168_1_39797
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:892169_1_39797
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行中期汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq.setReportScoreValue(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:892111_1_39798
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((implementMidCycleProcessReportScoreFormulaComRespDto!= null&& implementMidCycleProcessReportScoreFormulaComRespDto.getComFloatField() != null &&implementSubjectiveAndObjectiveScoreFormulaComRespDto!= null&& implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore() == null )){
       //elseif((D4-执行中期过程汇报得分计算公式(公共).过程汇报得分 值不等于空  and D4-执行主客观得分计算公式(公共).主客观得分（数值） 值等于空 ))  45691

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    if(implementMidCycleProcessReportScoreFormulaComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(implementMidCycleProcessReportScoreFormulaComRespDto!=null){
      receptionServiceReq_1.setReportScoreValue(implementMidCycleProcessReportScoreFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:892111_1_45692
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
      }
ImplementMidCycleReportScoreFormulaComRespDto retData = new ImplementMidCycleReportScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setReportScoreValue(receptionServiceRes_1.getReportScoreValue());//SimpleFieldAssign//sourceId:898445_1
    }




return retData;
  }
/**
   * D4-执行父周期汇报得分计算公式(公共)[6457]
   * gen by moon at 6/27/2023, 6:23:26 PM
   */
  @Trace(operationName = "D4-执行父周期汇报得分计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementFatherCycleReportScoreFormulaComRespDto implementFatherCycleReportScoreFormulaCom(ImplementFatherCycleReportScoreFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
//virtualUsage D4-执行主客观得分计算公式(公共)  39692
      ImplementSubjectiveAndObjectiveScoreFormulaComRespDto implementSubjectiveAndObjectiveScoreFormulaComRespDto = null;
    ImplementSubjectiveAndObjectiveScoreFormulaComReqDto implementSubjectiveAndObjectiveScoreFormulaComReqDto=new ImplementSubjectiveAndObjectiveScoreFormulaComReqDto();
  if(reqDto!=null){
      implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubAndObjModel(reqDto.getSubAndObjModel());//SimpleFieldAssign//sourceId:890434_1_39692
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:890428_1_39692
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890429_1_39692
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubjectiveScore(reqDto.getSubjectiveScore());//SimpleFieldAssign//sourceId:890430_1_39692
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setSubjectiveScoreWeight(reqDto.getSubjectiveScoreWeight());//SimpleFieldAssign//sourceId:890431_1_39692
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setObjectiveScore(reqDto.getObjectiveScore());//SimpleFieldAssign//sourceId:890432_1_39692
implementSubjectiveAndObjectiveScoreFormulaComReqDto.setObjectiveScoreWeight(reqDto.getObjectiveScoreWeight());//SimpleFieldAssign//sourceId:890433_1_39692
    }

    /*D4-执行主客观得分计算公式(公共)[6465]   */
Assert.isNull(implementSubjectiveAndObjectiveScoreFormulaComReqDto.getDecimalPointRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-执行主客观得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementSubjectiveAndObjectiveScoreFormulaComReqDto.getDecimalDigitsLastRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-执行主客观得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementSubjectiveAndObjectiveScoreFormulaComRespDto = implementSubjectiveAndObjectiveScoreFormulaCom(implementSubjectiveAndObjectiveScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D4-执行父周期过程汇报得分计算公式(公共)  39701
      ImplementFatherProcessReportScoreFormulaComRespDto implementFatherProcessReportScoreFormulaComRespDto = null;
    ImplementFatherProcessReportScoreFormulaComReqDto implementFatherProcessReportScoreFormulaComReqDto=new ImplementFatherProcessReportScoreFormulaComReqDto();
  if(reqDto!=null){
      implementFatherProcessReportScoreFormulaComReqDto.setOpenOrCloseMidCycle(reqDto.getOpenOrCloseMidCycle());//SimpleFieldAssign//sourceId:891088_1_39701
implementFatherProcessReportScoreFormulaComReqDto.setOkrOrNoOkr(reqDto.getOkrOrNoOkr());//SimpleFieldAssign//sourceId:959579_1_39701
      implementFatherProcessReportScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:890894_1_39701
implementFatherProcessReportScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:890895_1_39701
implementFatherProcessReportScoreFormulaComReqDto.setComFloatField2(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:890896_1_39701
implementFatherProcessReportScoreFormulaComReqDto.setProcessReportScoreKrWeight(reqDto.getProcessReportScoreKrWeight());//SimpleFieldAssign//sourceId:890897_1_39701
implementFatherProcessReportScoreFormulaComReqDto.setComFloatField1(reqDto.getComFloatField());//SimpleFieldAssign//sourceId:890898_1_39701
implementFatherProcessReportScoreFormulaComReqDto.setProcessReportScoreAvgWeight(reqDto.getProcessReportScoreAvgWeight());//SimpleFieldAssign//sourceId:890899_1_39701
implementFatherProcessReportScoreFormulaComReqDto.setComFloatField(reqDto.getReportScoreValue());//SimpleFieldAssign//sourceId:890900_1_39701
implementFatherProcessReportScoreFormulaComReqDto.setProcessReportScoreMidWeight(reqDto.getProcessReportScoreMidWeight());//SimpleFieldAssign//sourceId:890901_1_39701
    }

    /*D4-执行父周期过程汇报得分计算公式(公共)[6466]   */

      implementFatherProcessReportScoreFormulaComRespDto = implementFatherProcessReportScoreFormulaCom(implementFatherProcessReportScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



if((implementFatherProcessReportScoreFormulaComRespDto!= null&& implementFatherProcessReportScoreFormulaComRespDto.getComFloatField() != null &&implementSubjectiveAndObjectiveScoreFormulaComRespDto!= null&& implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore() != null )) {
        //if((D4-执行父周期过程汇报得分计算公式(公共).过程汇报得分 值不等于空  and D4-主客观得分计算公式(公共).主客观得分（数值） 值不等于空 ))  39467

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    if(implementFatherProcessReportScoreFormulaComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:884988_1_39475
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:884994_1_39475
if(implementFatherProcessReportScoreFormulaComRespDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(implementFatherProcessReportScoreFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:884990_1_39475
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getReportScoreProcessWeight());//SimpleFieldAssign//sourceId:884991_1_39475
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884995_1_39475
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    if(implementSubjectiveAndObjectiveScoreFormulaComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:884988_1_39476
if(implementSubjectiveAndObjectiveScoreFormulaComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore());//SimpleFieldAssign//sourceId:884990_1_39476
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getReportScoreSubAndObjWeight());//SimpleFieldAssign//sourceId:884991_1_39476
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:884994_1_39476
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884995_1_39476
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:884978_1_39477
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:884984_1_39477
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:884980_1_39477
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:884981_1_39477
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884985_1_39477
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalPointRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相加-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalDigitsLastRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相加-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:884968_1_39478
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:884971_1_39478
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:884970_1_39478
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:884974_1_39478
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:884975_1_39478
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcPara2(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相除-计算入参2不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalPointRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalDigitsLastRules(),"D4-执行父周期汇报得分计算公式(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq.setReportScoreValue(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:885079_1_39479
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((implementFatherProcessReportScoreFormulaComRespDto!= null&& implementFatherProcessReportScoreFormulaComRespDto.getComFloatField() != null &&implementSubjectiveAndObjectiveScoreFormulaComRespDto!= null&& implementSubjectiveAndObjectiveScoreFormulaComRespDto.getSubAndObjScore() == null  )){
       //elseif((D4-执行父周期过程汇报得分计算公式(公共).过程汇报得分 值不等于空  and D4-主客观得分计算公式(公共).主客观得分（数值） 值等于空 ))  45693

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    if(implementFatherProcessReportScoreFormulaComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(implementFatherProcessReportScoreFormulaComRespDto!=null){
      receptionServiceReq_1.setReportScoreValue(implementFatherProcessReportScoreFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:885079_1_45694
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
      }
ImplementFatherCycleReportScoreFormulaComRespDto retData = new ImplementFatherCycleReportScoreFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setReportScoreValue(receptionServiceRes_1.getReportScoreValue());//SimpleFieldAssign//sourceId:885093_1
    }




return retData;
  }
/**
   * D4-计算下级KR得分(公共)[6458]
   * gen by moon at 6/27/2023, 6:26:37 PM
   */
  @Trace(operationName = "D4-计算下级KR得分(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public CalculateLowKrReportScoreComRespDto calculateLowKrReportScoreCom(CalculateLowKrReportScoreComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&& reqDto.getIndicatorKind() != null &&reqDto!= null&&  reqDto.getIsOkrPlanScene() !=null && reqDto.getIsOkrPlanScene().equals("OKR_PLAN_SCENE"))) {
        //if((D4-计算下级KR得分(公共).OKR目标属性 值不等于空  and D4-计算下级KR得分(公共).冗余开启OKR场景 等于 OKR场景))  45734

      ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto=new ImplementCalcLowerLevelComReqDto();
  if(reqDto!=null){
      implementCalcLowerLevelComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885210_1_45735
implementCalcLowerLevelComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885211_1_45735
implementCalcLowerLevelComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885213_1_45735
implementCalcLowerLevelComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885214_1_45735
implementCalcLowerLevelComReqDto.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:885216_1_45735
implementCalcLowerLevelComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:885217_1_45735
implementCalcLowerLevelComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885218_1_45735
implementCalcLowerLevelComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885215_1_45735
    }

    /*D4-执行计算下级数据点权重和(公共)[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalPointRules(),"D4-计算下级KR得分(公共)-D4-执行计算下级数据点权重和(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalDigitsLastRules(),"D4-计算下级KR得分(公共)-D4-执行计算下级数据点权重和(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaObjTargetCycleId(),"D4-计算下级KR得分(公共)-D4-执行计算下级数据点权重和(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getCycleId(),"D4-计算下级KR得分(公共)-D4-执行计算下级数据点权重和(公共)-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getParentSubMidCycleType(),"D4-计算下级KR得分(公共)-D4-执行计算下级数据点权重和(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaluationTemplateId(),"D4-计算下级KR得分(公共)-D4-执行计算下级数据点权重和(公共)-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto)/*vcase invoke 同服务,同domain*/;



if((implementCalcLowerLevelComRespDto!= null&& implementCalcLowerLevelComRespDto.getDataResult() != null )) {
        //if(D4-执行计算下级数据点权重和(公共).下级数据权重之和 值不等于空 )  45736

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    if(implementCalcLowerLevelComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:885219_1_45737
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:885225_1_45737
if(implementCalcLowerLevelComRespDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:885221_1_45737
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:885222_1_45737
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885226_1_45737
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-计算下级KR得分(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-计算下级KR得分(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-计算下级KR得分(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    if(calculateCalcServiceCollectionComRespDto !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:885229_1_45738
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:885231_1_45738
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:885232_1_45738
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885235_1_45738
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885236_1_45738
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-计算下级KR得分(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-计算下级KR得分(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-计算下级KR得分(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_2 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_2!=null){
      receptionServiceReq.setReportScoreValue(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:885328_1_45739
    }

    /*约定出参：下级KR汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
      }
CalculateLowKrReportScoreComRespDto retData = new CalculateLowKrReportScoreComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setReportScoreValue(receptionServiceRes_1.getReportScoreValue());//SimpleFieldAssign//sourceId:885330_1
    }




return retData;
  }
/**
   * D4-计算父子中周期实际得分(公共)[6459]
   * gen by moon at 7/19/2023, 8:02:55 PM
   */
  @Trace(operationName = "D4-计算父子中周期实际得分(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public CalculateFatherCycleActualScoreComRespDto calculateFatherCycleActualScoreCom(CalculateFatherCycleActualScoreComReqDto reqDto){


      if((reqDto!= null&&  reqDto.getActualScoreIncludeRank() !=null && reqDto.getActualScoreIncludeRank().equals("RANK_AND_DOWN"))) {
        //if(D4-计算父周期实际得分(公共).实际得分组成 等于 本级加下级)  39526

ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto=new ImplementCalcLowerLevelComReqDto();
implementCalcLowerLevelComReqDto.setDataType("ACTUAL_SCORE");//sourceId:885763_1_39530
if(reqDto!=null){
      implementCalcLowerLevelComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885756_1_39530
implementCalcLowerLevelComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885757_1_39530
implementCalcLowerLevelComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885759_1_39530
implementCalcLowerLevelComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885760_1_39530
implementCalcLowerLevelComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1045161_1_39530
implementCalcLowerLevelComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:885762_1_39530
implementCalcLowerLevelComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885764_1_39530
implementCalcLowerLevelComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885761_1_39530
    }

    /*D4-执行计算下级数据点权重和(公共)[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDataType(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-数据点类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getParentSubMidCycleType(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto)/*vcase invoke 同服务,同domain*/;



ImplementFatherCycleActualScoreFormulaComRespDto implementFatherCycleActualScoreFormulaComRespDto = null;
    if(implementCalcLowerLevelComRespDto !=null){
          ImplementFatherCycleActualScoreFormulaComReqDto implementFatherCycleActualScoreFormulaComReqDto=new ImplementFatherCycleActualScoreFormulaComReqDto();
  if(reqDto!=null){
      implementFatherCycleActualScoreFormulaComReqDto.setActualScoreIncludeRank(reqDto.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:1045163_1_39532
      implementFatherCycleActualScoreFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885995_1_39532
implementFatherCycleActualScoreFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885996_1_39532
implementFatherCycleActualScoreFormulaComReqDto.setReportScoreValue(reqDto.getReportScoreValue());//SimpleFieldAssign//sourceId:885999_1_39532
implementFatherCycleActualScoreFormulaComReqDto.setActualScoreLocalLevelWeight(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:886000_1_39532
implementFatherCycleActualScoreFormulaComReqDto.setActualScoreLowerLevelWeight(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:885998_1_39532
    }
if(implementCalcLowerLevelComRespDto!=null){
      implementFatherCycleActualScoreFormulaComReqDto.setActualScoreValue(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:885997_1_39532
    }

    /*D4-执行实际得分计算公式(公共)[6448]   */
    Assert.isNull(implementFatherCycleActualScoreFormulaComReqDto.getActualScoreIncludeRank(),"D4-计算父子中周期实际得分(公共)-D4-执行实际得分计算公式(公共)-执行实际得分计算公式不能为空",false);
    Assert.isNull(implementFatherCycleActualScoreFormulaComReqDto.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-执行实际得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementFatherCycleActualScoreFormulaComReqDto.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-执行实际得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementFatherCycleActualScoreFormulaComRespDto = implementFatherCycleActualScoreFormulaCom(implementFatherCycleActualScoreFormulaComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(implementFatherCycleActualScoreFormulaComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(implementFatherCycleActualScoreFormulaComRespDto!=null){
      unifiedRefreshStandardDataComReqDto.setActualScoreValue(implementFatherCycleActualScoreFormulaComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:886617_1_39539
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885735_1_39539
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885736_1_39539
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885737_1_39539
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885738_1_39539
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885742_1_39539
unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959044_1_39539
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885739_1_39539
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082401_1_39539
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("ACTUAL_SCORE");//sourceId:885745_1_39540
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_ACTUAL_SCORE");//sourceId:885746_1_39540
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_RATIO_ACTUAL_SCORE");//sourceId:885747_1_39540
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885743_1_39540
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885744_1_39540
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885748_1_39540
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885750_1_39540
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885751_1_39540
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885752_1_39540
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885749_1_39540
    }

    /*D4-计算较上次变化值及增降幅标准数据（实际得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;



CalculateReachComRespDto calculateReachComRespDto = null;
    if(implementFatherCycleActualScoreFormulaComRespDto !=null){
          CalculateReachComReqDto calculateReachComReqDto=new CalculateReachComReqDto();
  if(implementFatherCycleActualScoreFormulaComRespDto!=null){
      calculateReachComReqDto.setActualScoreValue(implementFatherCycleActualScoreFormulaComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:886611_1_39541
    }
if(reqDto!=null){
      calculateReachComReqDto.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:886612_1_39541
calculateReachComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:886613_1_39541
calculateReachComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886614_1_39541
    }

    /*D4-计算达成度(公共)[6460]   */
Assert.isNull(calculateReachComReqDto.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算达成度(公共)-小数点规则不能为空",false);
Assert.isNull(calculateReachComReqDto.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算达成度(公共)-小数最后一位规则不能为空",false);
      calculateReachComRespDto = calculateReachCom(calculateReachComReqDto)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_1 = null;
    if(calculateReachComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_1=new UnifiedRefreshStandardDataComReqDto();
  if(calculateReachComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setReach(calculateReachComRespDto.getReach());//SimpleFieldAssign//sourceId:885734_1_39542
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885735_1_39542
unifiedRefreshStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885736_1_39542
unifiedRefreshStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885737_1_39542
unifiedRefreshStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885738_1_39542
unifiedRefreshStandardDataComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885742_1_39542
unifiedRefreshStandardDataComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959044_1_39542
unifiedRefreshStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885739_1_39542
unifiedRefreshStandardDataComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082401_1_39542
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getParentSubMidCycleType(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getStandardDataCalcCycleModel(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_1 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setSourceDataType("REACH");//sourceId:886660_1_39556
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCalcDataType("FROM_LAST_REACH");//sourceId:886661_1_39556
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDataType("ACTUAL_FROM_LAST_TIME_RATIO");//sourceId:886662_1_39556
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:886658_1_39556
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:886659_1_39556
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:886663_1_39556
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:886665_1_39556
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:886666_1_39556
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886667_1_39556
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:886664_1_39556
    }

    /*D4-计算较上次变化值及增降幅标准数据（达成度）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getSourceDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCalcDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



      }
else if((reqDto!= null&&  reqDto.getActualScoreIncludeRank() !=null && reqDto.getActualScoreIncludeRank().equals("INCLUDE_RANK"))){
       //elseif(D4-计算父子中周期实际得分(公共).实际得分组成 等于 本级汇报得分)  39527

UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_2 = null;
    UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_2=new UnifiedRefreshStandardDataComReqDto();
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_2.setActualScoreValue(reqDto.getReportScoreValue());//SimpleFieldAssign//sourceId:886617_1_39528
      unifiedRefreshStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885735_1_39528
unifiedRefreshStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885736_1_39528
unifiedRefreshStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885737_1_39528
unifiedRefreshStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885738_1_39528
unifiedRefreshStandardDataComReqDto_2.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885742_1_39528
unifiedRefreshStandardDataComReqDto_2.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959044_1_39528
unifiedRefreshStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885739_1_39528
unifiedRefreshStandardDataComReqDto_2.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082401_1_39528
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getParentSubMidCycleType(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getStandardDataCalcCycleModel(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_2 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_2 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setSourceDataType("ACTUAL_SCORE");//sourceId:885745_1_39529
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setCalcDataType("FROM_LAST_ACTUAL_SCORE");//sourceId:885746_1_39529
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDataType("FROM_LAST_RATIO_ACTUAL_SCORE");//sourceId:885747_1_39529
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885743_1_39529
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885744_1_39529
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885748_1_39529
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885750_1_39529
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885751_1_39529
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885752_1_39529
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885749_1_39529
    }

    /*D4-计算较上次变化值及增降幅标准数据（实际得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getSourceDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getCalcDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_2 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_2)/*vcase invoke isSameApp*/;



CalculateReachComRespDto calculateReachComRespDto_2 = null;
    CalculateReachComReqDto calculateReachComReqDto_1=new CalculateReachComReqDto();
  if(reqDto!=null){
      calculateReachComReqDto_1.setActualScoreValue(reqDto.getReportScoreValue());//SimpleFieldAssign//sourceId:886611_1_39544
calculateReachComReqDto_1.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:886612_1_39544
calculateReachComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:886613_1_39544
calculateReachComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886614_1_39544
    }

    /*D4-计算达成度(公共)[6460]   */
Assert.isNull(calculateReachComReqDto_1.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算达成度(公共)-小数点规则不能为空",false);
Assert.isNull(calculateReachComReqDto_1.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算达成度(公共)-小数最后一位规则不能为空",false);
      calculateReachComRespDto_2 = calculateReachCom(calculateReachComReqDto_1)/*vcase invoke 同服务,同domain*/;



UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_3 = null;
    if(calculateReachComRespDto_2 !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_3=new UnifiedRefreshStandardDataComReqDto();
  if(calculateReachComRespDto_2!=null){
      unifiedRefreshStandardDataComReqDto_3.setReach(calculateReachComRespDto_2.getReach());//SimpleFieldAssign//sourceId:885734_1_39545
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885735_1_39545
unifiedRefreshStandardDataComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885736_1_39545
unifiedRefreshStandardDataComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885737_1_39545
unifiedRefreshStandardDataComReqDto_3.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885738_1_39545
unifiedRefreshStandardDataComReqDto_3.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885742_1_39545
unifiedRefreshStandardDataComReqDto_3.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959044_1_39545
unifiedRefreshStandardDataComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885739_1_39545
unifiedRefreshStandardDataComReqDto_3.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082401_1_39545
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getParentSubMidCycleType(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getStandardDataCalcCycleModel(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_3.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_3 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_3)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_3 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setSourceDataType("REACH");//sourceId:886660_1_39557
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setCalcDataType("FROM_LAST_REACH");//sourceId:886661_1_39557
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDataType("ACTUAL_FROM_LAST_TIME_RATIO");//sourceId:886662_1_39557
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:886658_1_39557
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:886659_1_39557
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:886663_1_39557
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:886665_1_39557
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:886666_1_39557
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886667_1_39557
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:886664_1_39557
    }

    /*D4-计算较上次变化值及增降幅标准数据（达成度）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getSourceDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getCalcDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_3 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_3)/*vcase invoke isSameApp*/;



    }
else if((reqDto!= null&&  reqDto.getActualScoreIncludeRank() !=null && reqDto.getActualScoreIncludeRank().equals("NOT_INCLUDE_RANK"))){
       //elseif(D4-计算父周期实际得分(公共).实际得分组成 等于 下级实际得分)  40003

ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto_2 = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto_1=new ImplementCalcLowerLevelComReqDto();
implementCalcLowerLevelComReqDto_1.setDataType("ACTUAL_SCORE");//sourceId:885763_1_42151
if(reqDto!=null){
      implementCalcLowerLevelComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885756_1_42151
implementCalcLowerLevelComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885757_1_42151
implementCalcLowerLevelComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885759_1_42151
implementCalcLowerLevelComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885760_1_42151
implementCalcLowerLevelComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1045161_1_42151
implementCalcLowerLevelComReqDto_1.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:885762_1_42151
implementCalcLowerLevelComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885764_1_42151
implementCalcLowerLevelComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885761_1_42151
    }

    /*D4-执行计算下级数据点权重和(公共)[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto_1.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getDataType(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-数据点类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getParentSubMidCycleType(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-执行计算下级数据点权重和(公共)-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto_2 = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto_1)/*vcase invoke 同服务,同domain*/;



ImplementFatherCycleActualScoreFormulaComRespDto implementFatherCycleActualScoreFormulaComRespDto_2 = null;
    if(implementCalcLowerLevelComRespDto_2 !=null){
          ImplementFatherCycleActualScoreFormulaComReqDto implementFatherCycleActualScoreFormulaComReqDto_1=new ImplementFatherCycleActualScoreFormulaComReqDto();
  if(reqDto!=null){
      implementFatherCycleActualScoreFormulaComReqDto_1.setActualScoreIncludeRank(reqDto.getActualScoreIncludeRank());//SimpleFieldAssign//sourceId:1045163_1_42160
      implementFatherCycleActualScoreFormulaComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885995_1_42160
implementFatherCycleActualScoreFormulaComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885996_1_42160
implementFatherCycleActualScoreFormulaComReqDto_1.setReportScoreValue(reqDto.getReportScoreValue());//SimpleFieldAssign//sourceId:885999_1_42160
implementFatherCycleActualScoreFormulaComReqDto_1.setActualScoreLocalLevelWeight(reqDto.getActualScoreLocalLevelWeight());//SimpleFieldAssign//sourceId:886000_1_42160
implementFatherCycleActualScoreFormulaComReqDto_1.setActualScoreLowerLevelWeight(reqDto.getActualScoreLowerLevelWeight());//SimpleFieldAssign//sourceId:885998_1_42160
    }
if(implementCalcLowerLevelComRespDto_2!=null){
      implementFatherCycleActualScoreFormulaComReqDto_1.setActualScoreValue(implementCalcLowerLevelComRespDto_2.getDataResult());//SimpleFieldAssign//sourceId:885997_1_42160
    }

    /*D4-执行实际得分计算公式(公共)[6448]   */
    Assert.isNull(implementFatherCycleActualScoreFormulaComReqDto_1.getActualScoreIncludeRank(),"D4-计算父子中周期实际得分(公共)-D4-执行实际得分计算公式(公共)-执行实际得分计算公式不能为空",false);
    Assert.isNull(implementFatherCycleActualScoreFormulaComReqDto_1.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-执行实际得分计算公式(公共)-小数点规则不能为空",false);
Assert.isNull(implementFatherCycleActualScoreFormulaComReqDto_1.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-执行实际得分计算公式(公共)-小数最后一位规则不能为空",false);
      implementFatherCycleActualScoreFormulaComRespDto_2 = implementFatherCycleActualScoreFormulaCom(implementFatherCycleActualScoreFormulaComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_4 = null;
    if(implementFatherCycleActualScoreFormulaComRespDto_2 !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_4=new UnifiedRefreshStandardDataComReqDto();
  if(implementFatherCycleActualScoreFormulaComRespDto_2!=null){
      unifiedRefreshStandardDataComReqDto_4.setActualScoreValue(implementFatherCycleActualScoreFormulaComRespDto_2.getActualScoreValue());//SimpleFieldAssign//sourceId:886617_1_42152
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_4.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885735_1_42152
unifiedRefreshStandardDataComReqDto_4.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885736_1_42152
unifiedRefreshStandardDataComReqDto_4.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885737_1_42152
unifiedRefreshStandardDataComReqDto_4.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885738_1_42152
unifiedRefreshStandardDataComReqDto_4.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885742_1_42152
unifiedRefreshStandardDataComReqDto_4.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959044_1_42152
unifiedRefreshStandardDataComReqDto_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885739_1_42152
unifiedRefreshStandardDataComReqDto_4.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082401_1_42152
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getParentSubMidCycleType(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getStandardDataCalcCycleModel(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_4.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_4 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_4)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_4 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setSourceDataType("ACTUAL_SCORE");//sourceId:885745_1_42153
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setCalcDataType("FROM_LAST_ACTUAL_SCORE");//sourceId:885746_1_42153
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDataType("FROM_LAST_RATIO_ACTUAL_SCORE");//sourceId:885747_1_42153
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885743_1_42153
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885744_1_42153
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885748_1_42153
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885750_1_42153
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:885751_1_42153
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:885752_1_42153
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885749_1_42153
    }

    /*D4-计算较上次变化值及增降幅标准数据（实际得分）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getSourceDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getCalcDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（实际得分）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_4 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_4)/*vcase invoke isSameApp*/;



CalculateReachComRespDto calculateReachComRespDto_3 = null;
    if(implementFatherCycleActualScoreFormulaComRespDto_2 !=null){
          CalculateReachComReqDto calculateReachComReqDto_2=new CalculateReachComReqDto();
  if(implementFatherCycleActualScoreFormulaComRespDto_2!=null){
      calculateReachComReqDto_2.setActualScoreValue(implementFatherCycleActualScoreFormulaComRespDto_2.getActualScoreValue());//SimpleFieldAssign//sourceId:886611_1_42154
    }
if(reqDto!=null){
      calculateReachComReqDto_2.setWeightScore(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:886612_1_42154
calculateReachComReqDto_2.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:886613_1_42154
calculateReachComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886614_1_42154
    }

    /*D4-计算达成度(公共)[6460]   */
Assert.isNull(calculateReachComReqDto_2.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算达成度(公共)-小数点规则不能为空",false);
Assert.isNull(calculateReachComReqDto_2.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算达成度(公共)-小数最后一位规则不能为空",false);
      calculateReachComRespDto_3 = calculateReachCom(calculateReachComReqDto_2)/*vcase invoke 同服务,同domain*/;



           }
UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_5 = null;
    if(calculateReachComRespDto_3 !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_5=new UnifiedRefreshStandardDataComReqDto();
  if(calculateReachComRespDto_3!=null){
      unifiedRefreshStandardDataComReqDto_5.setReach(calculateReachComRespDto_3.getReach());//SimpleFieldAssign//sourceId:885734_1_42156
    }
  if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_5.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:885735_1_42156
unifiedRefreshStandardDataComReqDto_5.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:885736_1_42156
unifiedRefreshStandardDataComReqDto_5.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:885737_1_42156
unifiedRefreshStandardDataComReqDto_5.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:885738_1_42156
unifiedRefreshStandardDataComReqDto_5.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:885742_1_42156
unifiedRefreshStandardDataComReqDto_5.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:959044_1_42156
unifiedRefreshStandardDataComReqDto_5.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:885739_1_42156
unifiedRefreshStandardDataComReqDto_5.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1082401_1_42156
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_5.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_5.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_5.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_5.getParentSubMidCycleType(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_5.getStandardDataCalcCycleModel(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_5.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_5 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_5)/*vcase invoke isSameApp*/;



           }
CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_5 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setSourceDataType("REACH");//sourceId:886660_1_42157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setCalcDataType("FROM_LAST_REACH");//sourceId:886661_1_42157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setDataType("ACTUAL_FROM_LAST_TIME_RATIO");//sourceId:886662_1_42157
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:886658_1_42157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:886659_1_42157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:886663_1_42157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:886665_1_42157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:886666_1_42157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:886667_1_42157
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:886664_1_42157
    }

    /*D4-计算较上次变化值及增降幅标准数据（达成度）[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getEvaObjTargetCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getUpdateCycleId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getSourceDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getCalcDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getDataType(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getDecimalPointRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getDecimalDigitsLastRules(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5.getEvaluationTemplateId(),"D4-计算父子中周期实际得分(公共)-D4-计算较上次变化值及增降幅标准数据（达成度）-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_5 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_5)/*vcase invoke isSameApp*/;



    }
CalculateFatherCycleActualScoreComRespDto retData = new CalculateFatherCycleActualScoreComRespDto();





return retData;
  }
/**
   * D4-获取中期标准数据(公共)[6461]
   * gen by moon at 7/4/2023, 6:39:17 PM
   */
  @Trace(operationName = "D4-获取中期标准数据(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ObtainMidCycleStaDataComRespDto obtainMidCycleStaDataCom(ObtainMidCycleStaDataComReqDto reqDto){


      OmsStandardDataResult omsStandardDataResult_1 =null;
//virtualUsage D3-3查询被评对象目标周期详情（获取树信息）  39559
      QueryEvaObjTargetCycleDetailComRespDto queryEvaObjTargetCycleDetailComRespDto = null;
    QueryEvaObjTargetCycleDetailComReqDto queryEvaObjTargetCycleDetailComReqDto=new QueryEvaObjTargetCycleDetailComReqDto();
  if(reqDto!=null){
      queryEvaObjTargetCycleDetailComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:887025_1_39559
queryEvaObjTargetCycleDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:887026_1_39559
    }

    /*D3-3查询被评对象目标周期详情（获取树信息）[3489]   */
    Assert.isNull(queryEvaObjTargetCycleDetailComReqDto.getEvaObjTargetCycleId(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情（获取树信息）-被评对象目标周期ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto.getEvaluationTemplateId(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情（获取树信息）-冗余评价模板ID不能为空",false);
      queryEvaObjTargetCycleDetailComRespDto = fwAppTargetCycleClient.queryEvaObjTargetCycleDetailCom(queryEvaObjTargetCycleDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



//virtualUsage D3-3查询被评对象目标周期详情(公共)  39567
      QueryEvaObjTargetCycleDetailComRespDto queryEvaObjTargetCycleDetailComRespDto_2 = null;
    if(queryEvaObjTargetCycleDetailComRespDto !=null){
          QueryEvaObjTargetCycleDetailComReqDto queryEvaObjTargetCycleDetailComReqDto_1=new QueryEvaObjTargetCycleDetailComReqDto();
  queryEvaObjTargetCycleDetailComReqDto_1.setIsParentCycle("FALSE");//sourceId:887101_1_39567
queryEvaObjTargetCycleDetailComReqDto_1.setIsSubCycle("FALSE");//sourceId:887102_1_39567
queryEvaObjTargetCycleDetailComReqDto_1.setIsMetaphase("TRUE");//sourceId:887103_1_39567
if(queryEvaObjTargetCycleDetailComRespDto!=null){
      queryEvaObjTargetCycleDetailComReqDto_1.setEvaObjEntityId(queryEvaObjTargetCycleDetailComRespDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:887095_1_39567
queryEvaObjTargetCycleDetailComReqDto_1.setEvaObjTableTypeCode(queryEvaObjTargetCycleDetailComRespDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:887096_1_39567
queryEvaObjTargetCycleDetailComReqDto_1.setEvaObjTypeCode(queryEvaObjTargetCycleDetailComRespDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:887097_1_39567
queryEvaObjTargetCycleDetailComReqDto_1.setTreeTypeCode(queryEvaObjTargetCycleDetailComRespDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:887098_1_39567
queryEvaObjTargetCycleDetailComReqDto_1.setTargetCycleContentTypeCode(queryEvaObjTargetCycleDetailComRespDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:887099_1_39567
queryEvaObjTargetCycleDetailComReqDto_1.setTargetCycleContentId(queryEvaObjTargetCycleDetailComRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:887100_1_39567
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:887104_1_39567
    }

    /*D3-3查询被评对象目标周期详情(公共)[3489]   */
    Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getEvaObjEntityId(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getEvaObjTableTypeCode(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-被评对象内容表类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getEvaObjTypeCode(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getTreeTypeCode(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-树类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getTargetCycleContentTypeCode(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-关联目标内容类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getTargetCycleContentId(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-关联目标内容ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getIsParentCycle(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-是否父周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getIsSubCycle(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-是否子周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getIsMetaphase(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-是否中期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailComReqDto_1.getEvaluationTemplateId(),"D4-获取中期标准数据(公共)-D3-3查询被评对象目标周期详情(公共)-冗余评价模板ID不能为空",false);
      queryEvaObjTargetCycleDetailComRespDto_2 = fwAppTargetCycleClient.queryEvaObjTargetCycleDetailCom(queryEvaObjTargetCycleDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;



           }
if((queryEvaObjTargetCycleDetailComRespDto_2!= null&& queryEvaObjTargetCycleDetailComRespDto_2.getEvaObjTargetCycleId() != null )) {
        //if(D3-3查询被评对象目标周期详情(公共).被评对象目标周期ID 值不等于空 )  39573

OmsStandardDataResult omsStandardDataResult = null;
    if(queryEvaObjTargetCycleDetailComRespDto_2 !=null){
    QueryStandardDataDetailReq queryStandardDataDetailReq=new QueryStandardDataDetailReq();
  queryStandardDataDetailReq.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:887161_1_39574
queryStandardDataDetailReq.setIsNewData("TRUE");//sourceId:887163_1_39574
queryStandardDataDetailReq.setIsUpdateCycleNewData("TRUE");//sourceId:887164_1_39574
queryStandardDataDetailReq.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077369_1_39574
queryStandardDataDetailReq.setIsArchive("FALSE");//sourceId:887165_1_39574
queryStandardDataDetailReq.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:887166_1_39574
queryStandardDataDetailReq.setParentSubMidCycleType("MID_CYCLE");//sourceId:887168_1_39574
if(queryEvaObjTargetCycleDetailComRespDto_2!=null){
      queryStandardDataDetailReq.setPeriodId(queryEvaObjTargetCycleDetailComRespDto_2.getCycleId());//SimpleFieldAssign//sourceId:887159_1_39574
queryStandardDataDetailReq.setEntityId(queryEvaObjTargetCycleDetailComRespDto_2.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:887162_1_39574
    }
if(reqDto!=null){
queryStandardDataDetailReq.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:887160_1_39574
queryStandardDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:887167_1_39574
    }

    /*4-01-01查标准数据详情[2696]   */
    Assert.isNull(queryStandardDataDetailReq.getPeriodId(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-周期ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getDataType(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-数据点类型不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getTableTypeCode(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-归属内容表类型编码不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getEntityId(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-归属内容表主键ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getIsNewData(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-是否归属周期最新数据不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getIsUpdateCycleNewData(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-是否更新周期最新数据不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getDataUsageSceneCode(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-数据业务场景不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getIsArchive(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-是否存档不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentTypeCode(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-主题内容类型编码不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getThemeContentId(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-主题内容ID不能为空",false);
Assert.isNull(queryStandardDataDetailReq.getParentSubMidCycleType(),"D4-获取中期标准数据(公共)-4-01-01查标准数据详情-父子中周期类型不能为空",false);
      omsStandardDataResult = mOmsStandardDataResultService.queryStandardDataDetail(queryStandardDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsStandardDataResult_1 = omsStandardDataResult;
      }
      }
ObtainMidCycleStaDataComRespDto retData = new ObtainMidCycleStaDataComRespDto();
  if(omsStandardDataResult_1!=null){
      retData.setDataResultId(omsStandardDataResult_1.getDataResultId());//SimpleFieldAssign//sourceId:887175_1
retData.setDataResult(omsStandardDataResult_1.getDataResult());//SimpleFieldAssign//sourceId:887176_1
    }




return retData;
  }


/**
   * D4-执行主观得分公式分析(公共)[6828]
   * gen by moon at 3/18/2024, 4:19:46 AM
   */
  @Trace(operationName = "D4-执行主观得分公式分析(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementSubjectiveScoreFormulaAnalysisComRespDto implementSubjectiveScoreFormulaAnalysisCom(ImplementSubjectiveScoreFormulaAnalysisComReqDto reqDto){


if((reqDto!= null&&  reqDto.getStandardDataList() !=null && reqDto.getStandardDataList().size()>0)) {
        //if(D4-执行主观得分公式分析(公共).标准数据列表数据集条数 大于 0)  42172

ImplementCalcServiceCollectionOfMultipleNumComRespDto implementCalcServiceCollectionOfMultipleNumComRespDto = null;
    ImplementCalcServiceCollectionOfMultipleNumComReqDto implementCalcServiceCollectionOfMultipleNumComReqDto=new ImplementCalcServiceCollectionOfMultipleNumComReqDto();
  implementCalcServiceCollectionOfMultipleNumComReqDto.setCalcFormula("SUM_OF_MULTIPLE_NUM");//sourceId:958645_1_42173
implementCalcServiceCollectionOfMultipleNumComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:958647_1_42173
if(reqDto!=null){
implementCalcServiceCollectionOfMultipleNumComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:958648_1_42173
    }
if(reqDto!= null&&  reqDto.getStandardDataList() !=null&& !CollectionUtil.isEmpty(reqDto.getStandardDataList())){
      implementCalcServiceCollectionOfMultipleNumComReqDto.setDataSetsListOne(//objList-to-objLists
        reqDto.getStandardDataList().stream().map(item -> {
      DataSetsListOneDto elm = new DataSetsListOneDto();
      if(item!=null){
      elm.setCommPrimaryKey(item.getDataResultId());//SimpleFieldAssign//sourceId:204262_2_42173
elm.setCalcPara1(item.getDataResult());//SimpleFieldAssign//sourceId:204264_2_42173
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:958649_1_42173
    }

    /*D4-计算公式=数据集求和[5983]   */
    Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getCalcFormula(),"D4-执行主观得分公式分析(公共)-D4-计算公式=数据集求和-通用计算公式不能为空",false);
Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getDecimalPointRules(),"D4-执行主观得分公式分析(公共)-D4-计算公式=数据集求和-小数点规则不能为空",false);
Assert.isNull(implementCalcServiceCollectionOfMultipleNumComReqDto.getDecimalDigitsLastRules(),"D4-执行主观得分公式分析(公共)-D4-计算公式=数据集求和-小数最后一位规则不能为空",false);
      implementCalcServiceCollectionOfMultipleNumComRespDto = calculationRulesService.implementCalcServiceCollectionOfMultipleNumCom(implementCalcServiceCollectionOfMultipleNumComReqDto)/*vcase invoke isSameApp*/;



if((reqDto!= null&&  reqDto.getIsSubjectiveRatingManuallyEntered() !=null && reqDto.getIsSubjectiveRatingManuallyEntered().equals("TRUE"))) {
        //if(D4-执行主观得分公式分析(公共).主观评分是否人工录入 等于 是)  63516

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(implementCalcServiceCollectionOfMultipleNumComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(implementCalcServiceCollectionOfMultipleNumComRespDto!=null){
      receptionServiceReq.setSubjectiveScore(implementCalcServiceCollectionOfMultipleNumComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:1619425_1_63519
    }

    /*出参：主观得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getSubjectiveScore(),"D4-执行主观得分公式分析(公共)-出参：主观得分-主观得分不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);



           }
      }
else if((reqDto!= null&&  reqDto.getIsSubjectiveRatingManuallyEntered() !=null && reqDto.getIsSubjectiveRatingManuallyEntered().equals("FALSE"))){
       //elseif(D4-执行主观得分公式分析(公共).主观评分是否人工录入 等于 否)  63517

CalculateDivisionOfTwoNumComRespDto calculateDivisionOfTwoNumComRespDto = null;
    if(implementCalcServiceCollectionOfMultipleNumComRespDto !=null){
          CalculateDivisionOfTwoNumComReqDto calculateDivisionOfTwoNumComReqDto=new CalculateDivisionOfTwoNumComReqDto();
  calculateDivisionOfTwoNumComReqDto.setDecimalPointRules(Long.valueOf(10));//CUSTOM_CONVENTION//sourceId:1619935_1_63531
if(implementCalcServiceCollectionOfMultipleNumComRespDto!=null){
      calculateDivisionOfTwoNumComReqDto.setCalcPara1(implementCalcServiceCollectionOfMultipleNumComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:1619932_1_63531
    }
if(reqDto!=null){
      calculateDivisionOfTwoNumComReqDto.setCalcPara2(reqDto.getSubjectiveRatingTotalValue()!=null?Double.valueOf(reqDto.getSubjectiveRatingTotalValue()):null);//SimpleFieldAssign//sourceId:1619933_1_63531
calculateDivisionOfTwoNumComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1619936_1_63531
    }

    /*D4-计算两个数相除服务(公共)[4841]   */
    Assert.isNull(calculateDivisionOfTwoNumComReqDto.getCalcPara1(),"D4-执行主观得分公式分析(公共)-D4-计算两个数相除服务(公共)-计算入参1不能为空",false);
Assert.isNull(calculateDivisionOfTwoNumComReqDto.getCalcPara2(),"D4-执行主观得分公式分析(公共)-D4-计算两个数相除服务(公共)-计算入参2不能为空",false);
Assert.isNull(calculateDivisionOfTwoNumComReqDto.getDecimalPointRules(),"D4-执行主观得分公式分析(公共)-D4-计算两个数相除服务(公共)-小数点规则不能为空",false);
Assert.isNull(calculateDivisionOfTwoNumComReqDto.getDecimalDigitsLastRules(),"D4-执行主观得分公式分析(公共)-D4-计算两个数相除服务(公共)-小数最后一位规则不能为空",false);
      calculateDivisionOfTwoNumComRespDto = calculationRulesService.calculateDivisionOfTwoNumCom(calculateDivisionOfTwoNumComReqDto)/*vcase invoke isSameApp*/;



           }
CalculateMultiplyTwoValuesComRespDto calculateMultiplyTwoValuesComRespDto = null;
    if(calculateDivisionOfTwoNumComRespDto !=null){
          CalculateMultiplyTwoValuesComReqDto calculateMultiplyTwoValuesComReqDto=new CalculateMultiplyTwoValuesComReqDto();
  calculateMultiplyTwoValuesComReqDto.setDecimalPointRules(Long.valueOf(10));//CUSTOM_CONVENTION//sourceId:1619940_1_63532
if(calculateDivisionOfTwoNumComRespDto!=null){
      calculateMultiplyTwoValuesComReqDto.setComFloatField1(calculateDivisionOfTwoNumComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:1619937_1_63532
    }
if(reqDto!=null){
      calculateMultiplyTwoValuesComReqDto.setComFloatField2(reqDto.getWeightScore());//SimpleFieldAssign//sourceId:1619938_1_63532
calculateMultiplyTwoValuesComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1619941_1_63532
    }

    /*D4-计算两个数值相乘服务(公共)[5443]   */
    Assert.isNull(calculateMultiplyTwoValuesComReqDto.getComFloatField1(),"D4-执行主观得分公式分析(公共)-D4-计算两个数值相乘服务(公共)-通用数值字段1（小数型）不能为空",false);
Assert.isNull(calculateMultiplyTwoValuesComReqDto.getComFloatField2(),"D4-执行主观得分公式分析(公共)-D4-计算两个数值相乘服务(公共)-通用数值字段2（小数型）不能为空",false);
Assert.isNull(calculateMultiplyTwoValuesComReqDto.getDecimalPointRules(),"D4-执行主观得分公式分析(公共)-D4-计算两个数值相乘服务(公共)-小数点规则不能为空",false);
Assert.isNull(calculateMultiplyTwoValuesComReqDto.getDecimalDigitsLastRules(),"D4-执行主观得分公式分析(公共)-D4-计算两个数值相乘服务(公共)-小数最后一位规则不能为空",false);
      calculateMultiplyTwoValuesComRespDto = interfaceModeService.calculateMultiplyTwoValuesCom(calculateMultiplyTwoValuesComReqDto)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    if(calculateMultiplyTwoValuesComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(calculateMultiplyTwoValuesComRespDto!=null){
      receptionServiceReq_1.setSubjectiveScore(calculateMultiplyTwoValuesComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:1619425_1_63533
    }

    /*出参：主观得分[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getSubjectiveScore(),"D4-执行主观得分公式分析(公共)-出参：主观得分-主观得分不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);



           }
           }
      }
ImplementSubjectiveScoreFormulaAnalysisComRespDto retData = new ImplementSubjectiveScoreFormulaAnalysisComRespDto();
  //todo dong 未找到匹配生成策略,请检查生成策略retData.setCalcResult(),数据源项; to( ==>tableName:custom_fields, fieldEnname:calcResult ,uniqueId: 958676_1 uniqueSourceId:out_958636_1) from (varName:undefined fieldundefined)




return retData;
  }

/**
   * D4-执行汇报得分向下计算公式(公共)[6940]
   * gen by moon at 6/29/2023, 5:45:07 PM
   */
  @Trace(operationName = "D4-执行汇报得分向下计算公式(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementReportScoreDownCalcFormulaComRespDto implementReportScoreDownCalcFormulaCom(ImplementReportScoreDownCalcFormulaComReqDto reqDto){


      AddAcceptFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("OKR")&&reqDto!= null&& reqDto.getKrReportScoreValue() != null &&reqDto!= null&& reqDto.getOReportScoreValue() != null )) {
        //if((D4-执行汇报得分向下计算公式(公共).是否开启KR 等于 开启KR and D4-执行汇报得分向下计算公式(公共).下级KR汇报得分 值不等于空  and D4-执行汇报得分向下计算公式(公共).下级O汇报得分 值不等于空 ))  42736

CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:976676_1_42739
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto.setCalcPara1(reqDto.getOReportScoreValue());//SimpleFieldAssign//sourceId:976678_1_42739
calculateCalcServiceCollectionComReqDto.setCalcPara2(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:976679_1_42739
calculateCalcServiceCollectionComReqDto.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:976682_1_42739
calculateCalcServiceCollectionComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:976683_1_42739
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto.getCalcFormula(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalPointRules(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto.getDecimalDigitsLastRules(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_2 = null;
    CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_1=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_1.setCalcFormula("MULTI_OF_TWO_NUM");//sourceId:976676_1_42740
calculateCalcServiceCollectionComReqDto_1.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:976682_1_42740
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_1.setCalcPara1(reqDto.getKrReportScoreValue());//SimpleFieldAssign//sourceId:976678_1_42740
calculateCalcServiceCollectionComReqDto_1.setCalcPara2(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:976679_1_42740
calculateCalcServiceCollectionComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:976683_1_42740
    }

    /*D4-计算公式=两数相乘[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getCalcFormula(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相乘-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalPointRules(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相乘-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_1.getDecimalDigitsLastRules(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相乘-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_2 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_1)/*vcase invoke isSameApp*/;



CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_3 = null;
    if(calculateCalcServiceCollectionComRespDto !=null&&calculateCalcServiceCollectionComRespDto_2 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_2=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_2.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:976686_1_42741
calculateCalcServiceCollectionComReqDto_2.setDecimalPointRules(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:976692_1_42741
if(calculateCalcServiceCollectionComRespDto!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara1(calculateCalcServiceCollectionComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:976688_1_42741
    }
if(calculateCalcServiceCollectionComRespDto_2!=null){
      calculateCalcServiceCollectionComReqDto_2.setCalcPara2(calculateCalcServiceCollectionComRespDto_2.getCalcResult());//SimpleFieldAssign//sourceId:976689_1_42741
    }
if(reqDto!=null){
calculateCalcServiceCollectionComReqDto_2.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:976693_1_42741
    }

    /*D4-计算公式=两数相加[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getCalcFormula(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相加-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalPointRules(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相加-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_2.getDecimalDigitsLastRules(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相加-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_3 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_2)/*vcase invoke isSameApp*/;



           }
CalculateCalcServiceCollectionComRespDto calculateCalcServiceCollectionComRespDto_5 = null;
    if(calculateCalcServiceCollectionComRespDto_3 !=null){
          CalculateCalcServiceCollectionComReqDto calculateCalcServiceCollectionComReqDto_3=new CalculateCalcServiceCollectionComReqDto();
  calculateCalcServiceCollectionComReqDto_3.setCalcFormula("DIVISION_OF_TWO_NUM");//sourceId:976707_1_42742
calculateCalcServiceCollectionComReqDto_3.setCalcPara2(Double.valueOf("100"));//CUSTOM_CONVENTION//sourceId:976710_1_42742
if(calculateCalcServiceCollectionComRespDto_3!=null){
      calculateCalcServiceCollectionComReqDto_3.setCalcPara1(calculateCalcServiceCollectionComRespDto_3.getCalcResult());//SimpleFieldAssign//sourceId:976709_1_42742
    }
if(reqDto!=null){
      calculateCalcServiceCollectionComReqDto_3.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:976713_1_42742
calculateCalcServiceCollectionComReqDto_3.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:976714_1_42742
    }

    /*D4-计算公式=两数相除[5091]   */
    Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getCalcFormula(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相除-通用计算公式不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalPointRules(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相除-小数点规则不能为空",false);
Assert.isNull(calculateCalcServiceCollectionComReqDto_3.getDecimalDigitsLastRules(),"D4-执行汇报得分向下计算公式(公共)-D4-计算公式=两数相除-小数最后一位规则不能为空",false);
      calculateCalcServiceCollectionComRespDto_5 = calculationRulesService.calculateCalcServiceCollectionCom(calculateCalcServiceCollectionComReqDto_3)/*vcase invoke isSameApp*/;



           }
//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(calculateCalcServiceCollectionComRespDto_5 !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(calculateCalcServiceCollectionComRespDto_5!=null){
      receptionServiceReq.setReportScoreValue(calculateCalcServiceCollectionComRespDto_5.getCalcResult());//SimpleFieldAssign//sourceId:976870_1_42743
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("NO_KR")&&reqDto!= null&& reqDto.getOReportScoreValue() != null )){
       //elseif((D4-执行汇报得分向下计算公式(公共).是否开启KR 等于 未开启KR and D4-执行汇报得分向下计算公式(公共).下级O汇报得分 值不等于空 ))  42737

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_1.setReportScoreValue(reqDto.getOReportScoreValue());//SimpleFieldAssign//sourceId:976870_1_42738
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
    }
else if((reqDto!= null&&  reqDto.getOkrOrNoOkr() !=null && reqDto.getOkrOrNoOkr().equals("OKR")&&reqDto!= null&& reqDto.getOReportScoreValue() != null &&reqDto!= null&& reqDto.getKrReportScoreValue() == null )){
       //elseif((D4-执行汇报得分向下计算公式(公共).是否开启KR 等于 开启KR and D4-执行汇报得分向下计算公式(公共).下级O汇报得分 值不等于空  and D4-执行汇报得分向下计算公式(公共).下级KR汇报得分 值等于空 ))  46737

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_3 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_2.setReportScoreValue(reqDto.getOReportScoreValue());//SimpleFieldAssign//sourceId:976870_1_46740
    }

    /*约定出参：汇报得分[6392]  用于特殊方法接收上游入参。 */

      receptionServiceRes_3 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
    }
ImplementReportScoreDownCalcFormulaComRespDto retData = new ImplementReportScoreDownCalcFormulaComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setReportScoreValue(receptionServiceRes_1.getReportScoreValue());//SimpleFieldAssign//sourceId:976872_1
    }




return retData;
  }



/**
   * D4-分析进度值向下计算是否克隆进度值及实际值(公共)[8489]
   * gen by moon at 2/9/2024, 1:57:14 AM
   */
  @Trace(operationName = "D4-分析进度值向下计算是否克隆进度值及实际值(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAnalysisProgressValueDownClacCloneComRespDto implementAnalysisProgressValueDownClacCloneCom(ImplementAnalysisProgressValueDownClacCloneComReqDto reqDto){


      ImplementProgressValueDownCalcFormulaComRespDto implementProgressValueDownCalcFormulaComRespDto_1 =null;
AddAcceptFieldRespDto receptionServiceRes_1 =null;
AddAcceptFieldRespDto receptionServiceRes_3 =null;
//virtualUsage D4-执行进度值向下计算参照进度值(公共)  61244
      ImplementProgressValueDownCalcFormulaComRespDto implementProgressValueDownCalcFormulaComRespDto = null;
    ImplementProgressValueDownCalcFormulaComReqDto implementProgressValueDownCalcFormulaComReqDto=new ImplementProgressValueDownCalcFormulaComReqDto();
  if(reqDto!=null){
      implementProgressValueDownCalcFormulaComReqDto.setProgressValueCalcFormula(reqDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:1540866_1_61244
implementProgressValueDownCalcFormulaComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1540862_1_61244
implementProgressValueDownCalcFormulaComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1540863_1_61244
implementProgressValueDownCalcFormulaComReqDto.setComFloatField1(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:1540864_1_61244
implementProgressValueDownCalcFormulaComReqDto.setCountProObWeight(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:1540868_1_61244
implementProgressValueDownCalcFormulaComReqDto.setComFloatField2(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:1540865_1_61244
implementProgressValueDownCalcFormulaComReqDto.setCountProKrWeight(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:1540869_1_61244
    }

    /*D4-执行进度值向下计算参照进度值(公共)[6475]   */
    Assert.isNull(implementProgressValueDownCalcFormulaComReqDto.getProgressValueCalcFormula(),"D4-分析进度值向下计算是否克隆进度值及实际值(公共)-D4-执行进度值向下计算参照进度值(公共)-进度值计算公式不能为空",false);
Assert.isNull(implementProgressValueDownCalcFormulaComReqDto.getDecimalPointRules(),"D4-分析进度值向下计算是否克隆进度值及实际值(公共)-D4-执行进度值向下计算参照进度值(公共)-小数点规则不能为空",false);
Assert.isNull(implementProgressValueDownCalcFormulaComReqDto.getDecimalDigitsLastRules(),"D4-分析进度值向下计算是否克隆进度值及实际值(公共)-D4-执行进度值向下计算参照进度值(公共)-小数最后一位规则不能为空",false);
      implementProgressValueDownCalcFormulaComRespDto = implementProgressValueDownCalcFormulaCom(implementProgressValueDownCalcFormulaComReqDto)/*vcase invoke 同服务,同domain*/;


      implementProgressValueDownCalcFormulaComRespDto_1 = implementProgressValueDownCalcFormulaComRespDto;
if((implementProgressValueDownCalcFormulaComRespDto!= null&& implementProgressValueDownCalcFormulaComRespDto.getComFloatField() != null )&&(reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_NOKR_COPY")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_KR_COPY")||reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_ONLY_KR"))) {
        //if(D4-执行进度值向下计算参照进度值(公共).参照进度值 值不等于空  and (D4-分析进度值向下计算是否克隆进度值及实际值(公共).进度值计算公式 等于 向下计算参照值并赋值（只有O） or D4-分析进度值向下计算是否克隆进度值及实际值(公共).进度值计算公式 等于 向下计算参照值并赋值（O加KR） or D4-分析进度值向下计算是否克隆进度值及实际值(公共).进度值计算公式 等于 向下只计算KR))  61245

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    if(implementProgressValueDownCalcFormulaComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(implementProgressValueDownCalcFormulaComRespDto!=null){
      receptionServiceReq.setProgressValue(implementProgressValueDownCalcFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:1541274_1_61246
    }

    /*约定出参：进度值[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getProgressValue(),"D4-分析进度值向下计算是否克隆进度值及实际值(公共)-约定出参：进度值-进度值（数值）不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
if((reqDto!= null&&  reqDto.getIsOkrPlanScene() !=null && reqDto.getIsOkrPlanScene().equals("OKR_PLAN_SCENE")&&reqDto!= null&&  reqDto.getIndicatorKind() !=null && reqDto.getIndicatorKind().equals("OBJECTIVES")&&reqDto!= null&&  reqDto.getTargetValueType() !=null && reqDto.getTargetValueType().equals("PROGRESS"))) {
        //if((D4-分析进度值向下计算是否克隆进度值及实际值(公共).冗余开启OKR场景 等于 OKR场景 and D4-分析进度值向下计算是否克隆进度值及实际值(公共).OKR目标属性 等于 目标O and D4-分析进度值向下计算是否克隆进度值及实际值(公共).冗余指标业务类型 等于 进度型))  61250

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_2 = null;
    if(implementProgressValueDownCalcFormulaComRespDto !=null){
          AddAcceptFieldReqDto receptionServiceReq_1=new AddAcceptFieldReqDto();
  if(implementProgressValueDownCalcFormulaComRespDto!=null){
      receptionServiceReq_1.setActualValue(implementProgressValueDownCalcFormulaComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:1541474_1_61251
    }

    /*约定出参：实际值[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getActualValue(),"D4-分析进度值向下计算是否克隆进度值及实际值(公共)-约定出参：实际值-实际值（数值）不能为空",false);
      receptionServiceRes_2 = nbGridCalculate.addAcceptField(receptionServiceReq_1);


      receptionServiceRes_3 = receptionServiceRes_2;
           }
      }
      }
else if((implementProgressValueDownCalcFormulaComRespDto!= null&& implementProgressValueDownCalcFormulaComRespDto.getComFloatField() == null &&reqDto!= null&&  reqDto.getProgressValueCalcFormula() !=null && reqDto.getProgressValueCalcFormula().equals("DOWNWARD_CALCULATION_PROGRESS")&&reqDto!= null&& reqDto.getComFloatField1() != null )){
       //elseif((D4-执行进度值向下计算参照进度值(公共).参照进度值 值等于空  and D4-分析进度值向下计算是否克隆进度值及实际值(公共).进度值计算公式 等于 只向下计算进度值 and D4-分析进度值向下计算是否克隆进度值及实际值(公共).下级O进度值 值不等于空 ))  61254

//ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes_4 = null;
    AddAcceptFieldReqDto receptionServiceReq_2=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_2.setProgressValue(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:1541274_1_61255
    }

    /*约定出参：进度值[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getProgressValue(),"D4-分析进度值向下计算是否克隆进度值及实际值(公共)-约定出参：进度值-进度值（数值）不能为空",false);
      receptionServiceRes_4 = nbGridCalculate.addAcceptField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_4;
    }
ImplementAnalysisProgressValueDownClacCloneComRespDto retData = new ImplementAnalysisProgressValueDownClacCloneComRespDto();
  if(implementProgressValueDownCalcFormulaComRespDto_1!=null){
      retData.setComFloatField(implementProgressValueDownCalcFormulaComRespDto_1.getComFloatField());//SimpleFieldAssign//sourceId:1541484_1
    }
if(receptionServiceRes_1!=null){
      retData.setProgressValue(receptionServiceRes_1.getProgressValue());//SimpleFieldAssign//sourceId:1541485_1
    }
if(receptionServiceRes_3!=null){
      retData.setActualValue(receptionServiceRes_3.getActualValue());//SimpleFieldAssign//sourceId:1541486_1
    }




return retData;
  }
/**
   * D4-执行进度值向下计算(公共)[8490]
   * gen by moon at 3/16/2024, 2:43:03 PM
   */
  @Trace(operationName = "D4-执行进度值向下计算(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementProgressValueDownClacNewComRespDto implementProgressValueDownClacNewCom(ImplementProgressValueDownClacNewComReqDto reqDto){


      ImplementAnalysisProgressValueDownClacCloneComRespDto implementAnalysisProgressValueDownClacCloneComRespDto_1 =null;
      //virtualUsage D4-执行计算下级O进度值  61256
      ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto=new ImplementCalcLowerLevelComReqDto();
  implementCalcLowerLevelComReqDto.setDataType("PROGRESS_VALUE");//sourceId:1541736_1_61256
if(reqDto!=null){
      implementCalcLowerLevelComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1541729_1_61256
implementCalcLowerLevelComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1541730_1_61256
implementCalcLowerLevelComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1541732_1_61256
implementCalcLowerLevelComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1541733_1_61256
implementCalcLowerLevelComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1541738_1_61256
implementCalcLowerLevelComReqDto.setIndicatorKind(reqDto.getLowIndicatorKindO());//SimpleFieldAssign//sourceId:1541735_1_61256
implementCalcLowerLevelComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1541737_1_61256
implementCalcLowerLevelComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1541734_1_61256
    }

    /*D4-执行计算下级O进度值[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-更新周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getDataType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-数据点类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级O进度值-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto)/*vcase invoke 同服务,同domain*/;



//virtualUsage D4-执行计算下级KR进度值  61257
      ImplementCalcLowerLevelComRespDto implementCalcLowerLevelComRespDto_2 = null;
    ImplementCalcLowerLevelComReqDto implementCalcLowerLevelComReqDto_1=new ImplementCalcLowerLevelComReqDto();
  implementCalcLowerLevelComReqDto_1.setDataType("PROGRESS_VALUE");//sourceId:1541746_1_61257
if(reqDto!=null){
      implementCalcLowerLevelComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1541739_1_61257
implementCalcLowerLevelComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1541740_1_61257
implementCalcLowerLevelComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1541742_1_61257
implementCalcLowerLevelComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1541743_1_61257
implementCalcLowerLevelComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1541748_1_61257
implementCalcLowerLevelComReqDto_1.setIndicatorKind(reqDto.getLowIndicatorKindKr());//SimpleFieldAssign//sourceId:1541745_1_61257
implementCalcLowerLevelComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1541747_1_61257
implementCalcLowerLevelComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1541744_1_61257
    }

    /*D4-执行计算下级KR进度值[6424]   */
    Assert.isNull(implementCalcLowerLevelComReqDto_1.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-小数点规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-小数最后一位规则不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-被评对象目标周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-更新周期ID不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getDataType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-数据点类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-父子中周期类型不能为空",false);
Assert.isNull(implementCalcLowerLevelComReqDto_1.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-执行计算下级KR进度值-冗余评价模板ID不能为空",false);
      implementCalcLowerLevelComRespDto_2 = implementCalcLowerLevelCom(implementCalcLowerLevelComReqDto_1)/*vcase invoke 同服务,同domain*/;



//virtualUsage D4-分析进度值向下计算是否克隆进度值及实际值(公共)  61258
      ImplementAnalysisProgressValueDownClacCloneComRespDto implementAnalysisProgressValueDownClacCloneComRespDto = null;
    if(implementCalcLowerLevelComRespDto !=null&&implementCalcLowerLevelComRespDto_2 !=null){
          ImplementAnalysisProgressValueDownClacCloneComReqDto implementAnalysisProgressValueDownClacCloneComReqDto=new ImplementAnalysisProgressValueDownClacCloneComReqDto();
  if(reqDto!=null){
      implementAnalysisProgressValueDownClacCloneComReqDto.setProgressValueCalcFormula(reqDto.getProgressValueCalcFormula());//SimpleFieldAssign//sourceId:1541751_1_61258
implementAnalysisProgressValueDownClacCloneComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1541749_1_61258
implementAnalysisProgressValueDownClacCloneComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1541750_1_61258
implementAnalysisProgressValueDownClacCloneComReqDto.setIsOkrPlanScene(reqDto.getIsOkrPlanScene());//SimpleFieldAssign//sourceId:1541756_1_61258
implementAnalysisProgressValueDownClacCloneComReqDto.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:1541787_1_61258
implementAnalysisProgressValueDownClacCloneComReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:1541759_1_61258
implementAnalysisProgressValueDownClacCloneComReqDto.setCountProObWeight(reqDto.getCountProObWeight());//SimpleFieldAssign//sourceId:1541753_1_61258
implementAnalysisProgressValueDownClacCloneComReqDto.setCountProKrWeight(reqDto.getCountProKrWeight());//SimpleFieldAssign//sourceId:1541755_1_61258
    }
if(implementCalcLowerLevelComRespDto!=null){
      implementAnalysisProgressValueDownClacCloneComReqDto.setComFloatField1(implementCalcLowerLevelComRespDto.getDataResult());//SimpleFieldAssign//sourceId:1541752_1_61258
    }
if(implementCalcLowerLevelComRespDto_2!=null){
      implementAnalysisProgressValueDownClacCloneComReqDto.setComFloatField2(implementCalcLowerLevelComRespDto_2.getDataResult());//SimpleFieldAssign//sourceId:1541754_1_61258
    }

    /*D4-分析进度值向下计算是否克隆进度值及实际值(公共)[8489]   */
    Assert.isNull(implementAnalysisProgressValueDownClacCloneComReqDto.getProgressValueCalcFormula(),"D4-执行进度值向下计算(公共)-D4-分析进度值向下计算是否克隆进度值及实际值(公共)-进度值计算公式不能为空",false);
Assert.isNull(implementAnalysisProgressValueDownClacCloneComReqDto.getDecimalPointRules(),"D4-执行进度值向下计算(公共)-D4-分析进度值向下计算是否克隆进度值及实际值(公共)-小数点规则不能为空",false);
Assert.isNull(implementAnalysisProgressValueDownClacCloneComReqDto.getDecimalDigitsLastRules(),"D4-执行进度值向下计算(公共)-D4-分析进度值向下计算是否克隆进度值及实际值(公共)-小数最后一位规则不能为空",false);
      implementAnalysisProgressValueDownClacCloneComRespDto = implementAnalysisProgressValueDownClacCloneCom(implementAnalysisProgressValueDownClacCloneComReqDto)/*vcase invoke 同服务,同domain*/;


      implementAnalysisProgressValueDownClacCloneComRespDto_1 = implementAnalysisProgressValueDownClacCloneComRespDto;
           }
//virtualUsage D4-统一更新标准数据(公共)  61259
      UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(implementAnalysisProgressValueDownClacCloneComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(implementAnalysisProgressValueDownClacCloneComRespDto!=null){
      unifiedRefreshStandardDataComReqDto.setCountProgressValue(implementAnalysisProgressValueDownClacCloneComRespDto.getComFloatField());//SimpleFieldAssign//sourceId:1541779_1_61259
unifiedRefreshStandardDataComReqDto.setProgressValue(implementAnalysisProgressValueDownClacCloneComRespDto.getProgressValue());//SimpleFieldAssign//sourceId:1541772_1_61259
unifiedRefreshStandardDataComReqDto.setActualValue(implementAnalysisProgressValueDownClacCloneComRespDto.getActualValue());//SimpleFieldAssign//sourceId:1541773_1_61259
    }
if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1541764_1_61259
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1541765_1_61259
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1541766_1_61259
unifiedRefreshStandardDataComReqDto.setUpdateBatch(reqDto.getUpdateBatch());//SimpleFieldAssign//sourceId:1541767_1_61259
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1541780_1_61259
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1541771_1_61259
unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1541774_1_61259
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1541768_1_61259
    }

    /*D4-统一更新标准数据(公共)[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getIsWorkCycleData(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-是否工作周期数据不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行进度值向下计算(公共)-D4-统一更新标准数据(公共)-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }
ImplementProgressValueDownClacNewComRespDto retData = new ImplementProgressValueDownClacNewComRespDto();
  if(implementAnalysisProgressValueDownClacCloneComRespDto_1!=null){
      retData.setComFloatField(implementAnalysisProgressValueDownClacCloneComRespDto_1.getComFloatField());//SimpleFieldAssign//sourceId:1611398_1
retData.setProgressValue(implementAnalysisProgressValueDownClacCloneComRespDto_1.getProgressValue());//SimpleFieldAssign//sourceId:1611399_1
retData.setActualValue(implementAnalysisProgressValueDownClacCloneComRespDto_1.getActualValue());//SimpleFieldAssign//sourceId:1611400_1
    }




return retData;
  }
/**
   * D4-执行跨树克隆实际得分及达成度(公共)[6454]
   * gen by moon at 3/12/2024, 3:07:38 AM
   */
  @Trace(operationName = "D4-执行跨树克隆实际得分及达成度(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementActualScoreCloneFromOtherTreeComRespDto implementActualScoreCloneFromOtherTreeCom(ImplementActualScoreCloneFromOtherTreeComReqDto reqDto){


      //步骤0: M4-接收字段入参（计算使用） - addAcceptField
     //ModelCode: receptionService
        AddAcceptFieldRespDto receptionServiceRes = null;
    AddAcceptFieldReqDto receptionServiceReq=new AddAcceptFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1573322_1
receptionServiceReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1573324_1
receptionServiceReq.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1573325_1
receptionServiceReq.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1573326_1
receptionServiceReq.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1573327_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1573303_1
receptionServiceReq.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:1573302_1
receptionServiceReq.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1573323_1
receptionServiceReq.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1573306_1
receptionServiceReq.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1573307_1
receptionServiceReq.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1573304_1
receptionServiceReq.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1573305_1
    }

    /*M4-接收入参字段[6392]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getEvaObjTargetCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-被评对象目标周期ID不能为空",false);
Assert.isNull(receptionServiceReq.getCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-周期ID不能为空",false);
Assert.isNull(receptionServiceReq.getUpdateCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-更新周期ID不能为空",false);
Assert.isNull(receptionServiceReq.getParentSubMidCycleType(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-父子中周期类型不能为空",false);
Assert.isNull(receptionServiceReq.getIsWorkCycleData(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-是否工作周期数据不能为空",false);
Assert.isNull(receptionServiceReq.getEvaluationTemplateId(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-冗余评价模板ID不能为空",false);
Assert.isNull(receptionServiceReq.getDataResultId(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-数据结果ID 不能为空",false);
Assert.isNull(receptionServiceReq.getStandardDataCalcCycleModel(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-标准数据计算周期模型不能为空",false);
Assert.isNull(receptionServiceReq.getDecimalPointRules(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-小数点规则不能为空",false);
Assert.isNull(receptionServiceReq.getDecimalDigitsLastRules(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-小数最后一位规则不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField1(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-自定义字段1不能为空",false);
Assert.isNull(receptionServiceReq.getCustomField2(),"D4-执行跨树克隆实际得分及达成度(公共)-M4-接收入参字段-自定义字段2不能为空",false);
      receptionServiceRes = nbGridCalculate.addAcceptField(receptionServiceReq);




//步骤1: D4-查询来源树实际得分数据详情(公共) - querySourceTreeActualScoreDataDetailCom
     QuerySourceTreeActualScoreDataDetailComRespDto querySourceTreeActualScoreDataDetailComRespDto = null;
    QuerySourceTreeActualScoreDataDetailComReqDto querySourceTreeActualScoreDataDetailComReqDto=new QuerySourceTreeActualScoreDataDetailComReqDto();
  if(reqDto!=null){
      querySourceTreeActualScoreDataDetailComReqDto.setDataResultId(reqDto.getDataResultId());//SimpleFieldAssign//sourceId:1573060_1
querySourceTreeActualScoreDataDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1573059_1
querySourceTreeActualScoreDataDetailComReqDto.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1573062_1
querySourceTreeActualScoreDataDetailComReqDto.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1573063_1
querySourceTreeActualScoreDataDetailComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1573064_1
querySourceTreeActualScoreDataDetailComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1573065_1
    }

    /*D4-查询来源树实际得分数据详情(公共)[6492]   */
    Assert.isNull(querySourceTreeActualScoreDataDetailComReqDto.getDataResultId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-查询来源树实际得分数据详情(公共)-数据结果ID 不能为空",false);
Assert.isNull(querySourceTreeActualScoreDataDetailComReqDto.getEvaluationTemplateId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-查询来源树实际得分数据详情(公共)-冗余评价模板ID不能为空",false);
      querySourceTreeActualScoreDataDetailComRespDto = querySourceTreeActualScoreDataDetailCom(querySourceTreeActualScoreDataDetailComReqDto)/*vcase invoke 同服务,同domain*/;




//步骤2: D4-统一更新标准数据(公共) - unifiedRefreshStandardDataCom
     UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto = null;
    if(querySourceTreeActualScoreDataDetailComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto=new UnifiedRefreshStandardDataComReqDto();
  if(querySourceTreeActualScoreDataDetailComRespDto!=null){
      unifiedRefreshStandardDataComReqDto.setActualScoreValue(querySourceTreeActualScoreDataDetailComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:1573321_1
    }
if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1573314_1
unifiedRefreshStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1573315_1
unifiedRefreshStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1573316_1
unifiedRefreshStandardDataComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1573317_1
unifiedRefreshStandardDataComReqDto.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1573318_1
unifiedRefreshStandardDataComReqDto.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1573319_1
unifiedRefreshStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1573320_1
    }

    /*D4-更新实际得分[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新实际得分-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新实际得分-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getUpdateCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新实际得分-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getParentSubMidCycleType(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新实际得分-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getStandardDataCalcCycleModel(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新实际得分-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新实际得分-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto)/*vcase invoke isSameApp*/;



           }

//步骤3: D4-计算较上次变化值及增降幅标准数据(公共) - calculateChangeFromLastAndFromLastRatioStandardDataCom
     CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setSourceDataType("ACTUAL_SCORE");//sourceId:1573087_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCalcDataType("FROM_LAST_ACTUAL_SCORE");//sourceId:1573088_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDataType("FROM_LAST_RATIO_ACTUAL_SCORE");//sourceId:1573089_1
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1573085_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1573086_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1573090_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1573093_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1573094_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1573091_1
    }

    /*D4-计算实际得分较上次变化值及增降幅[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaObjTargetCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getUpdateCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getSourceDataType(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getCalcDataType(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDataType(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalPointRules(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getDecimalDigitsLastRules(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto.getEvaluationTemplateId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算实际得分较上次变化值及增降幅-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto)/*vcase invoke isSameApp*/;




//步骤4: D4-计算达成度(公共) - calculateReachCom
     CalculateReachComRespDto calculateReachComRespDto = null;
    if(querySourceTreeActualScoreDataDetailComRespDto !=null){
          CalculateReachComReqDto calculateReachComReqDto=new CalculateReachComReqDto();
  if(querySourceTreeActualScoreDataDetailComRespDto!=null){
      calculateReachComReqDto.setActualScoreValue(querySourceTreeActualScoreDataDetailComRespDto.getActualScoreValue());//SimpleFieldAssign//sourceId:1573095_1
    }
if(reqDto!=null){
      calculateReachComReqDto.setWeightScore(reqDto.getCustomField2()!=null?Double.valueOf(reqDto.getCustomField2()):null);//SimpleFieldAssign//sourceId:1573098_1
calculateReachComReqDto.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1573096_1
calculateReachComReqDto.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1573097_1
    }

    /*D4-计算达成度(公共)[6460]   */
    Assert.isNull(calculateReachComReqDto.getDecimalPointRules(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算达成度(公共)-小数点规则不能为空",false);
Assert.isNull(calculateReachComReqDto.getDecimalDigitsLastRules(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算达成度(公共)-小数最后一位规则不能为空",false);
      calculateReachComRespDto = calculateReachCom(calculateReachComReqDto)/*vcase invoke 同服务,同domain*/;



           }

//步骤5: D4-统一更新标准数据(公共) - unifiedRefreshStandardDataCom
     UnifiedRefreshStandardDataComRespDto unifiedRefreshStandardDataComRespDto_1 = null;
    if(calculateReachComRespDto !=null){
          UnifiedRefreshStandardDataComReqDto unifiedRefreshStandardDataComReqDto_1=new UnifiedRefreshStandardDataComReqDto();
  if(calculateReachComRespDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setReach(calculateReachComRespDto.getReach());//SimpleFieldAssign//sourceId:1573369_1
    }
if(reqDto!=null){
      unifiedRefreshStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1573362_1
unifiedRefreshStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1573363_1
unifiedRefreshStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1573364_1
unifiedRefreshStandardDataComReqDto_1.setIsWorkCycleData(reqDto.getIsWorkCycleData());//SimpleFieldAssign//sourceId:1573367_1
unifiedRefreshStandardDataComReqDto_1.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1573365_1
unifiedRefreshStandardDataComReqDto_1.setStandardDataCalcCycleModel(reqDto.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1573366_1
unifiedRefreshStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1573368_1
    }

    /*D4-更新达成度[5987]   */
    Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getReach(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新达成度-达成度不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新达成度-被评对象目标周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新达成度-周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getUpdateCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新达成度-更新周期ID不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getIsWorkCycleData(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新达成度-是否工作周期数据不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getParentSubMidCycleType(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新达成度-父子中周期类型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getStandardDataCalcCycleModel(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新达成度-标准数据计算周期模型不能为空",false);
Assert.isNull(unifiedRefreshStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-更新达成度-冗余评价模板ID不能为空",false);
      unifiedRefreshStandardDataComRespDto_1 = standardDataService.unifiedRefreshStandardDataCom(unifiedRefreshStandardDataComReqDto_1)/*vcase invoke isSameApp*/;



           }

//步骤6: D4-计算较上次变化值及增降幅标准数据(公共) - calculateChangeFromLastAndFromLastRatioStandardDataCom
     CalculateChangeFromLastAndFromLastRatioStandardDataComRespDto calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = null;
    CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1=new CalculateChangeFromLastAndFromLastRatioStandardDataComReqDto();
  calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setSourceDataType("REACH");//sourceId:1573354_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCalcDataType("FROM_LAST_REACH");//sourceId:1573355_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDataType("ACTUAL_FROM_LAST_TIME_RATIO");//sourceId:1573356_1
if(reqDto!=null){
      calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1573352_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1573353_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1573357_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalPointRules(reqDto.getDecimalPointRules());//SimpleFieldAssign//sourceId:1573360_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setDecimalDigitsLastRules(reqDto.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1573361_1
calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1573358_1
    }

    /*D4-计算较上次变化值及增降幅标准数据(公共)[3344]   */
    Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaObjTargetCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-被评对象目标周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getUpdateCycleId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-更新周期ID不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getSourceDataType(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-源数据数据类型编码不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getCalcDataType(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次变化值不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDataType(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-数据类型：较上次增降幅不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalPointRules(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数点规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getDecimalDigitsLastRules(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-小数最后一位规则不能为空",false);
Assert.isNull(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1.getEvaluationTemplateId(),"D4-执行跨树克隆实际得分及达成度(公共)-D4-计算较上次变化值及增降幅标准数据(公共)-冗余评价模板ID不能为空",false);
      calculateChangeFromLastAndFromLastRatioStandardDataComRespDto_1 = standardDataService.calculateChangeFromLastAndFromLastRatioStandardDataCom(calculateChangeFromLastAndFromLastRatioStandardDataComReqDto_1)/*vcase invoke isSameApp*/;




ImplementActualScoreCloneFromOtherTreeComRespDto retData = new ImplementActualScoreCloneFromOtherTreeComRespDto();





return retData;
  }
  //
}
